9
0
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:
LoJoSho
2023-05-24 14:44:38 -05:00
parent 70b97667c3
commit c189424aa8

View File

@@ -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;
}