diff --git a/src/main/java/io/github/hsyyid/adminshop/utils/ConfigManager.java b/src/main/java/io/github/hsyyid/adminshop/utils/ConfigManager.java index 2c9fa81..2cc65d3 100644 --- a/src/main/java/io/github/hsyyid/adminshop/utils/ConfigManager.java +++ b/src/main/java/io/github/hsyyid/adminshop/utils/ConfigManager.java @@ -100,7 +100,7 @@ public static void readLegacyAdminShops() { ItemStack stack = ItemStack.builder().itemType(itemType.get()).quantity(adminShop.getItemAmount()).build(); - if (adminShop.getMeta() == -1) + if (adminShop.getMeta() != -1) { DataContainer container = stack.toContainer().set(DataQuery.of("UnsafeDamage"), adminShop.getMeta()); stack = ItemStack.builder().fromContainer(container).build();