mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-30 12:29:16 +00:00
fix: same issue as before but with cosmetic wardrobe flag
This commit is contained in:
@@ -37,6 +37,7 @@ public class WGListener implements Listener {
|
||||
return;
|
||||
}
|
||||
if (protectedRegion.getFlags().containsKey(WGHook.getCosmeticWardrobeFlag())) {
|
||||
if (!protectedRegion.getFlags().get(WGHook.getCosmeticWardrobeFlag()).toString().equalsIgnoreCase("ALLOW")) return;
|
||||
user.enterWardrobe();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user