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:
@ -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()) {
|
||||
|
Reference in New Issue
Block a user