9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-30 12:29:16 +00:00

remove user by name method (used deprecated stuff)

This commit is contained in:
LoJoSho
2022-12-09 13:11:01 -06:00
parent c648d0f536
commit 87d87ef364

View File

@@ -44,8 +44,4 @@ public class CosmeticUsers {
if (entity.getType().equals(EntityType.PLAYER)) return null;
return COSMETIC_USERS.get(entity.getUniqueId());
}
public static CosmeticUser getUser(String playerName) {
return getUser(Bukkit.getPlayer(playerName).getUniqueId());
}
}