Define priority for BlockPlaceEvent handler

This commit is contained in:
GeorgH93 2021-04-19 19:19:30 +02:00
parent 1acd9c3e5c
commit c0002f75a5
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -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()))