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

feat: add removeWardrobe method

This commit is contained in:
LoJoSho
2023-05-24 15:08:43 -05:00
parent e9c7946319
commit 5c6bb93e6c

View File

@@ -214,6 +214,10 @@ public class WardrobeSettings {
wardrobes.put(wardrobe.getId(), wardrobe);
}
public static void removeWardrobe(String id) {
wardrobes.remove(id);
}
@Deprecated
public static boolean inDistanceOfWardrobe(final Location wardrobeLocation, final Location playerLocation) {
if (displayRadius == -1) return true;