mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-27 20:46: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)) {
|
||||
List <MetadataValue> values = block.getMetadata(METADATA_NAME);
|
||||
|
||||
if (values.size() < 1) {
|
||||
if (values.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user