1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-06-20 07:51:25 +02:00

Monitor and ignoreCancelledEvents onBlockPlace

This commit is contained in:
NuclearW 2012-02-05 01:46:39 -05:00
parent dc77d9f434
commit c8ff58bb6c

@ -56,9 +56,11 @@ public class mcBlockListener implements Listener
this.plugin = plugin;
}
@EventHandler
@EventHandler(priority = EventPriority.MONITOR)
public void onBlockPlace(BlockPlaceEvent event)
{
if(event.isCancelled()) return;
//Setup some basic vars
Block block;
Player player = event.getPlayer();