Fix an error about "/ed drop"

This commit is contained in:
Xanadu13
2023-08-18 12:25:44 +08:00
committed by GitHub
parent 2d4db9be07
commit 09f138c353
@@ -205,6 +205,7 @@ public class MainCommand implements CommandExecutor {
Lang.sendFeedback(sender,Lang.command_only_player);
return false;
}
if(args.length < 2) break;
Player p = (Player) sender;
switch (args[1].toLowerCase()){
case "gui" : {
@@ -389,4 +390,4 @@ public class MainCommand implements CommandExecutor {
// net.minecraft.world.item.ItemStack nmsItem = CraftItemStack.asNMSCopy(item);
// NBTTagCompound cpd = nmsItem.b(new NBTTagCompound());
// p.sendMessage(cpd.toString());
// p.sendMessage(cpd.toString());