mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 18:45:31 +01:00
WAT. NO.
This commit is contained in:
parent
cec194135e
commit
387961d242
@ -78,7 +78,7 @@ public class SignBreak implements Listener {
|
||||
|
||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.MONITOR)
|
||||
public static void onBrokenSign(BlockBreakEvent event) {
|
||||
if (BlockUtil.isSign(event.getBlock()) && !event.isCancelled()) {
|
||||
if (ChestShopSign.isValid(event.getBlock()) && !event.isCancelled()) {
|
||||
sendShopDestroyedEvent((Sign) event.getBlock().getState(), event.getPlayer());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user