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

clean spelled onPlayerCosmeticEquip correctly

This commit is contained in:
LoJoSho
2023-08-06 10:25:31 -05:00
parent 6d11deb9aa
commit 7a9d2f0041

View File

@@ -342,7 +342,7 @@ public class PlayerGameListener implements Listener {
}
@EventHandler(priority = EventPriority.LOW)
public void onPlayerCosemticEquip(PlayerCosmeticPostEquipEvent event) {
public void onPlayerCosmeticEquip(PlayerCosmeticPostEquipEvent event) {
CosmeticUser user = event.getUser();
if (user.isInWardrobe() && event.getCosmetic().getSlot().equals(CosmeticSlot.BALLOON)) {
Location NPCLocation = user.getWardrobeManager().getNpcLocation();