mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2025-11-24 21:26:25 +00:00
@@ -157,6 +157,9 @@ public class PlayerListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final Block b = e.getClickedBlock();
|
final Block b = e.getClickedBlock();
|
||||||
|
if (b == null || b.getType() == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
// If that wasn't a shop, search nearby shops
|
// If that wasn't a shop, search nearby shops
|
||||||
if (b.getType() == Material.WALL_SIGN) {
|
if (b.getType() == Material.WALL_SIGN) {
|
||||||
final Block attached = Util.getAttached(b);
|
final Block attached = Util.getAttached(b);
|
||||||
|
|||||||
Reference in New Issue
Block a user