Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid committed Jan 24, 2016
1 parent a3fec12 commit 21133a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void onPlayerInteractBlock(InteractBlockEvent.Secondary event, @First Pla
}
}

if (foundChestShopModifier != null)
if (foundChestShopModifier != null && player.getUniqueId().toString().equals(thisShop.getOwnerUUID()))
{
thisShop.setItemName(foundChestShopModifier.getItemName());
thisShop.setMeta(foundChestShopModifier.getMeta());
Expand Down

0 comments on commit 21133a1

Please sign in to comment.