Changed to event priority of the block break listener to MONITOR. This will resolve issues with third party protection plugins. See issue #25.

This commit is contained in:
Tobias Ottenweller 2013-07-10 20:43:52 +02:00
parent 577531db5e
commit 7673c3f674

View File

@ -27,7 +27,7 @@ import org.bukkit.event.block.BlockBreakEvent;
public class BlockBreakListener implements Listener
{
@EventHandler(priority = EventPriority.NORMAL)
@EventHandler(priority = EventPriority.MONITOR)
public void onBlockBreak(BlockBreakEvent event)
{
if (event.isCancelled()) {