Fix a small issue may related #390

Former-commit-id: 0ea23998a929a7455445393815413cf6abeb17e1
This commit is contained in:
Ghost_chu committed 2020-04-10 13:40:48 +08:00
1 parent 4329cfee19
commit d99fbc51a4
1 file changed
+1
@@ -152,6 +152,7 @@ public class BlockListener extends ProtectionListenerBase implements Listener {
MsgUtil.sendMessage(p,
MsgUtil.getMessage(
"no-creative-break", p, MsgUtil.getItemi18n(Material.GOLDEN_AXE.name())));
return;
}
//Allow Shop owner break the shop sign(for sign replacement)
if(getPlugin().getConfig().getBoolean("shop.allow-owner-break-shop-sign")&&p.getUniqueId().equals(shop.getOwner())){