mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-30 04:19:28 +00:00
fix: setlocation command now shows no-wardrobes message when there is no wardrobe with inputted name
This commit is contained in:
@@ -320,7 +320,7 @@ public class CosmeticCommand implements CommandExecutor {
|
||||
}
|
||||
Wardrobe wardrobe = WardrobeSettings.getWardrobe(args[1]);
|
||||
if (wardrobe == null) {
|
||||
MessagesUtil.sendMessage(player, "not-enough-args");
|
||||
MessagesUtil.sendMessage(player, "no-wardrobes");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user