diff --git a/src/main/java/org/maxgamer/QuickShop/Command/CommandSell.java b/src/main/java/org/maxgamer/QuickShop/Command/CommandSell.java index 66b17b9..9a7345e 100644 --- a/src/main/java/org/maxgamer/QuickShop/Command/CommandSell.java +++ b/src/main/java/org/maxgamer/QuickShop/Command/CommandSell.java @@ -30,7 +30,7 @@ public class CommandSell extends BaseCommand { while (bIt.hasNext()) { final Block b = bIt.next(); final Shop shop = plugin.getShopManager().getShop(b.getLocation()); - if (shop != null && shop.getOwner().equals(((Player) sender).getUniqueId())) { + if (shop != null && shop.getOwner().equals(((Player) sender).getName())) { shop.setShopType(ShopType.SELLING); shop.setSignText(); shop.update();