This commit is contained in:
samolego 2021-02-12 15:59:35 +01:00
parent ec796ec8b2
commit 944585ea2f
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class AuthEventHandlerForge {
@SubscribeEvent(priority = HIGHEST)
public static void onAttackBlock(PlayerInteractEvent.LeftClickBlock event) {
PlayerEntity player = event.getPlayer();
if(AuthEventHandler.onBreakBlock(player)) {
if(!AuthEventHandler.onBreakBlock(player)) {
event.setCanceled(true);
}
}