From 97bf39da9c6a4933e8b047e09957d60a33d17321 Mon Sep 17 00:00:00 2001 From: LoJoSho Date: Thu, 5 Jan 2023 10:41:14 -0600 Subject: [PATCH] PlayerCosmeticRemoveEvent is now called --- .../java/com/hibiscusmc/hmccosmetics/user/CosmeticUser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/hibiscusmc/hmccosmetics/user/CosmeticUser.java b/common/src/main/java/com/hibiscusmc/hmccosmetics/user/CosmeticUser.java index 11757b8f..6a8d05b2 100644 --- a/common/src/main/java/com/hibiscusmc/hmccosmetics/user/CosmeticUser.java +++ b/common/src/main/java/com/hibiscusmc/hmccosmetics/user/CosmeticUser.java @@ -113,7 +113,7 @@ public class CosmeticUser { public void removeCosmeticSlot(CosmeticSlot slot) { // API - PlayerCosmeticEquipEvent event = new PlayerCosmeticEquipEvent(this, getCosmetic(slot)); + PlayerCosmeticRemoveEvent event = new PlayerCosmeticRemoveEvent(this, getCosmetic(slot)); Bukkit.getPluginManager().callEvent(event); if (event.isCancelled()) { return;