mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-07 19:28:11 +01:00
Define priority for BlockPlaceEvent handler
This commit is contained in:
parent
1acd9c3e5c
commit
c0002f75a5
@ -200,7 +200,7 @@ public void onItemFrameInteract(PlayerInteractEntityEvent event)
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
|
||||
public void onBlockPlace(BlockPlaceEvent event)
|
||||
{
|
||||
if(isItemShortcut(event.getItemInHand()))
|
||||
|
Loading…
Reference in New Issue
Block a user