mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
fix
Former-commit-id: 5de370d20a91ba1a0a0bae036b3e19b553fc3bfb
This commit is contained in:
1 parent
5f19d92c6e
commit
851f25de7e
1 file changed
+2
-2
@@ -61,8 +61,8 @@ public class PlayerListener implements Listener {
|
||||
Block b = e.getClickedBlock();
|
||||
if (!Util.canBeShop(b) && b.getType() != Material.WALL_SIGN)
|
||||
return;
|
||||
if(b.getState() instanceof Sign || b instanceof WallSign) {
|
||||
Sign sign = (Sign)b;
|
||||
if(b.getState() instanceof Sign) {
|
||||
Sign sign = (Sign)b.getState();
|
||||
if(sign.getLine(0).equals(plugin.getConfig().getString("lockette.private"))||sign.getLine(0).equals(plugin.getConfig().getString("lockette.more_users"))){
|
||||
//Ignore break lockette sign
|
||||
plugin.getLogger().info("Skipped a dead-lock shop sign.(Lockette)");
|
||||
|
||||
Reference in new issue
Block a user