mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Merge remote-tracking branch 'origin/master'
Former-commit-id: 136b5b3dd115f8766ca8a9e101ae554bcaf71137
This commit is contained in:
commit
7f04c33cbe
2 files changed
+6
-4
No files matched your search
@@ -144,9 +144,11 @@ public class BlockListener extends ProtectionListenerBase implements Listener {
|
||||
MsgUtil.getMessage(
|
||||
"no-creative-break", p, MsgUtil.getItemi18n(Material.GOLDEN_AXE.name())));
|
||||
}
|
||||
|
||||
Util.debugLog("Cannot break the sign.");
|
||||
e.setCancelled(true);
|
||||
//Allow Shop owner break the shop sign(for sign replacement)
|
||||
if(!p.getUniqueId().equals(shop.getOwner())){
|
||||
Util.debugLog("Cannot break the sign.");
|
||||
e.setCancelled(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user