Set the priority to monitor

This commit is contained in:
Acrobot 2013-10-04 18:35:34 +02:00
parent 01b84bbc31
commit 7b8396a3ef
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ import org.bukkit.block.Sign;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.block.BlockPhysicsEvent;
@ -45,7 +46,7 @@ public class SignBreak implements Listener {
private static final BlockFace[] SIGN_CONNECTION_FACES = {BlockFace.SOUTH, BlockFace.NORTH, BlockFace.EAST, BlockFace.WEST, BlockFace.UP};
private static final String METADATA_NAME = "shop_destroyer";
@EventHandler(ignoreCancelled = true)
@EventHandler(ignoreCancelled = true, priority = EventPriority.MONITOR)
public static void onSign(BlockPhysicsEvent event) {
Block block = event.getBlock();