mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 18:45:31 +01:00
Change the check
This commit is contained in:
parent
a3b9fc9195
commit
023cabd849
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user