Sign preservation
This commit is contained in:
@@ -160,14 +160,6 @@ public class SignListener implements Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
|
||||||
public void onBlockPhysics(BlockPhysicsEvent event) {
|
|
||||||
if (!PlayerVaults.getInstance().getConf().isSigns()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
blockChangeCheck(event.getBlock().getLocation());
|
|
||||||
}
|
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
||||||
public void onEntityChangeBlock(EntityChangeBlockEvent event) {
|
public void onEntityChangeBlock(EntityChangeBlockEvent event) {
|
||||||
if (!PlayerVaults.getInstance().getConf().isSigns()) {
|
if (!PlayerVaults.getInstance().getConf().isSigns()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user