Fix /packet arguments, fixes #1847 (#2271)

Pretty simple, it's deleting the argument twice. Which means you have to use `/packet add add <remaining>`
This commit is contained in:
libraryaddict 2023-03-28 16:03:27 +13:00 committed by GitHub
parent 7217b11ba7
commit edce5b6d0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,7 +446,7 @@ class CommandPacket extends CommandBase {
{
final String text = arguments.remove().toLowerCase();
switch (arguments.remove().toLowerCase()) {
switch (text) {
case "add":
return SubCommand.ADD;
case "remove":