mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-31 12:56:39 +00:00
removed toggle method (unused)
This commit is contained in:
@@ -114,13 +114,6 @@ public class CosmeticUser {
|
||||
spawnBalloon(balloonType);
|
||||
}
|
||||
}
|
||||
public void toggleCosmetic(Cosmetic cosmetic) {
|
||||
if (hasCosmeticInSlot(cosmetic.getSlot())) {
|
||||
removeCosmeticSlot(cosmetic.getSlot());
|
||||
return;
|
||||
}
|
||||
addPlayerCosmetic(cosmetic);
|
||||
}
|
||||
|
||||
public void removeCosmetics() {
|
||||
// Small optimization could be made, but Concurrent modification prevents us from both getting and removing
|
||||
|
||||
Reference in New Issue
Block a user