Allow placing blocks on/against signs

This commit is contained in:
kaenganxt
2014-12-22 18:51:32 +01:00
parent 8e88eb732a
commit cb300ec53f

View File

@@ -90,8 +90,8 @@ public class PlayerInteract implements Listener {
out.writeUTF(targetServer);
P.sendPluginMessage(plugin, "BungeeCord", b.toByteArray());
}
event.setCancelled(true);
}
event.setCancelled(true);
} else if (block.getState().getData() instanceof Stairs) {
if (plugin.stairMode.contains(event.getPlayer()) && event.getAction().equals(Action.RIGHT_CLICK_BLOCK)) {
event.setCancelled(true);