diff --git a/src/main/java/com/Acrobot/ChestShop/UUIDs/NameManager.java b/src/main/java/com/Acrobot/ChestShop/UUIDs/NameManager.java index 4e86836..5301bb6 100644 --- a/src/main/java/com/Acrobot/ChestShop/UUIDs/NameManager.java +++ b/src/main/java/com/Acrobot/ChestShop/UUIDs/NameManager.java @@ -6,6 +6,7 @@ import com.Acrobot.ChestShop.Configuration.Properties; import com.Acrobot.ChestShop.Database.Account; import com.Acrobot.ChestShop.Database.ConnectionManager; import com.Acrobot.ChestShop.Permission; +import com.Acrobot.ChestShop.Signs.ChestShopSign; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.j256.ormlite.dao.Dao; @@ -100,6 +101,10 @@ public class NameManager { } public static String getFullUsername(String username) { + if (ChestShopSign.isAdminShop(username)) { + return Properties.ADMIN_SHOP_NAME; + } + String shortName = NameUtil.stripUsername(username); if (shortToLongName.containsKey(shortName)) {