Banned blocks shouldn't prevent breaking blocks
This commit is contained in:
parent
853bde6da8
commit
ce3ef66c25
|
@ -65,6 +65,7 @@ AetherEventHandler {
|
|||
|
||||
@SubscribeEvent
|
||||
public void checkBlockBannedEvent(PlayerInteractEvent event) {
|
||||
if(event.action == PlayerInteractEvent.Action.LEFT_CLICK_BLOCK) return;
|
||||
EntityPlayer player = event.entityPlayer;
|
||||
ItemStack currentStack = player.getCurrentEquippedItem();
|
||||
|
||||
|
@ -405,4 +406,4 @@ AetherEventHandler {
|
|||
PlayerAether.get(event.entityPlayer).setBedLocation(event.entityPlayer.getBedLocation(AetherConfig.getAetherDimensionID()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue