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:
parent
577531db5e
commit
7673c3f674
@ -27,7 +27,7 @@ import org.bukkit.event.block.BlockBreakEvent;
|
|||||||
|
|
||||||
public class BlockBreakListener implements Listener
|
public class BlockBreakListener implements Listener
|
||||||
{
|
{
|
||||||
@EventHandler(priority = EventPriority.NORMAL)
|
@EventHandler(priority = EventPriority.MONITOR)
|
||||||
public void onBlockBreak(BlockBreakEvent event)
|
public void onBlockBreak(BlockBreakEvent event)
|
||||||
{
|
{
|
||||||
if (event.isCancelled()) {
|
if (event.isCancelled()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user