Skip to content

Commit

Permalink
What a save
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid committed Mar 18, 2016
1 parent 3c96a3d commit 6b662d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6b662d6

Please sign in to comment.