mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-14 22:34:35 +01:00
(misc:GiveAllCommand.java) Add feedback for missing arguments
This commit is contained in:
@@ -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<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user