parent
f2c7c9c2b1
commit
0de3e1a0c7
|
@ -157,6 +157,9 @@ public class PlayerListener implements Listener {
|
|||
return;
|
||||
}
|
||||
final Block b = e.getClickedBlock();
|
||||
if (b == null || b.getType() == null) {
|
||||
return;
|
||||
}
|
||||
// If that wasn't a shop, search nearby shops
|
||||
if (b.getType() == Material.WALL_SIGN) {
|
||||
final Block attached = Util.getAttached(b);
|
||||
|
|
Loading…
Reference in New Issue