(misc:GiveAllCommand.java) Add feedback for missing arguments

This commit is contained in:
KingRainbow44
2023-11-26 01:38:45 -05:00
parent 54119bc5b0
commit 95723d544a

View File

@@ -30,6 +30,7 @@ public class GiveAllCommand implements CommandHandler {
String type = args.get(0).toLowerCase();
switch (type) {
default -> this.sendMessage(sender, "Error: Invalid type");
case "m", "materials", "mats" -> {
List<GameItem> items = new ArrayList<>();