mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-10 00:57:34 +01:00
Speed up SignBreak
This commit is contained in:
parent
e5953cd740
commit
118f72e805
@ -53,9 +53,7 @@ public class SignBreak implements Listener {
|
||||
Block attachedBlock = BlockUtil.getAttachedBlock(sign);
|
||||
|
||||
if (attachedBlock.getType() == Material.AIR && ChestShopSign.isValid(sign)) {
|
||||
List <MetadataValue> values = block.getMetadata(METADATA_NAME);
|
||||
|
||||
if (values.isEmpty()) {
|
||||
if (!block.hasMetadata(METADATA_NAME)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user