mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
Add missed catching behavior
Former-commit-id: 79acec1b2ab272c8502c6b4cc64da54ea358f67e
This commit is contained in:
1 parent
43386a8186
commit
d7a1cbbcae
1 file changed
+1
-1
@@ -122,7 +122,7 @@ public class DisplayProtectionListener extends ProtectionListenerBase {
|
||||
return;
|
||||
}
|
||||
final Block block = event.getBlock().getRelative(event.getDirection()).getRelative(BlockFace.DOWN);
|
||||
Shop shop = getShopNature(block.getLocation(), true);
|
||||
Shop shop = getShopRedstone(block.getLocation(), true);
|
||||
if (shop != null) {
|
||||
event.setCancelled(true);
|
||||
sendAlert(
|
||||
|
||||
Reference in new issue
Block a user