Server-side compatibility changes

This commit is contained in:
luisc committed 2021-10-19 02:49:46 -05:00
1 parent c8f917d8fb
commit f88cbb8b51
9 files changed
+230 -212

No files matched your search

+2 -2
View File
@@ -263,7 +263,7 @@ public class EventHooks {
}
public static boolean onPlayerBreak(PlayerDataScript handler, PlayerEvent.BreakEvent event) {
handler.callScript(EnumScriptType.BREAK, event,"event", event);
handler.callScript(EnumScriptType.BREAK_BLOCK, event,"event", event);
return WrapperNpcAPI.EVENT_BUS.post(event);
}
@@ -303,4 +303,4 @@ public class EventHooks {
}
}
}
}