forked from sorceress/EasyAuth
Fixes #54
This commit is contained in:
parent
ec796ec8b2
commit
944585ea2f
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue