a little fix

Former-commit-id: 7df4bd39c63aa76aa8139d31e348ed1adeaf6229 [formerly 565509cc0d397a2e06a5f1c348ecaf324c68e02e]
Former-commit-id: 05bb686a6f81f2c7b17ea17e140b7a790b994154
This commit is contained in:
Ghost_chu committed 2018-11-09 23:19:26 +08:00
1 parent 09684b2cba
commit a387649690
1 file changed
+1 -1
@@ -142,7 +142,7 @@ public class PlayerListener implements Listener {
p.sendMessage(
MsgUtil.getMessage("how-much-to-trade-for", MsgUtil.getItemi18n(Util.getName(info.getItem()))));
}
} else if (e.getAction().equals(Action.RIGHT_CLICK_BLOCK)) {
} else if (e.getAction().equals(Action.RIGHT_CLICK_BLOCK)&&e.getClickedBlock().getType()==Material.WALL_SIGN) {
/** @TODO: ControlPanel **/
Block block;
if(e.getClickedBlock().getType()==Material.WALL_SIGN) {