Only log sign base color changes when we log SIGNTEXT for this world

This commit is contained in:
Brokkonaut
2019-05-27 23:53:50 +02:00
parent 4fda020dfc
commit 424ef3b02b

View File

@ -221,6 +221,7 @@ public class InteractLogging extends LoggingListener {
case JUNGLE_WALL_SIGN:
case ACACIA_WALL_SIGN:
case DARK_OAK_WALL_SIGN:
if (wcfg.isLogging(Logging.SIGNTEXT) && event.getAction() == Action.RIGHT_CLICK_BLOCK) {
ItemStack stack = event.getItem();
if (stack != null && BukkitUtils.isDye(stack.getType())) {
final BlockState before = event.getClickedBlock().getState();
@ -234,6 +235,7 @@ public class InteractLogging extends LoggingListener {
}
}
}
}
default:
}
}