Change the check

This commit is contained in:
Acrobot 2013-11-01 16:44:57 +01:00
parent a3b9fc9195
commit 023cabd849

View File

@ -61,7 +61,7 @@ public class SignBreak implements Listener {
if (attachedBlock.getType() == Material.AIR && ChestShopSign.isValid(sign)) { if (attachedBlock.getType() == Material.AIR && ChestShopSign.isValid(sign)) {
List <MetadataValue> values = block.getMetadata(METADATA_NAME); List <MetadataValue> values = block.getMetadata(METADATA_NAME);
if (values.size() < 1) { if (values.isEmpty()) {
return; return;
} }