nossr50 1 周之前
父节点
当前提交
6aa4deedc0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/gmail/nossr50/util/EventUtils.java

+ 1 - 1
src/main/java/com/gmail/nossr50/util/EventUtils.java

@@ -373,7 +373,7 @@ public final class EventUtils {
      * @param eventType The type of event to signal to other plugins
      * @return true if the event wasn't cancelled, false otherwise
      */
-    private static boolean simulateBlockBreak(Block block, Player player,
+    public static boolean simulateBlockBreak(Block block, Player player,
             FakeBlockBreakEventType eventType) {
         if (IN_FAKE_BREAK.get()) {
             return true;