Add missed catching behavior

Former-commit-id: 79acec1b2ab272c8502c6b4cc64da54ea358f67e
This commit is contained in:
sandtechnology committed 2020-12-01 09:47:09 +08:00
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(