Fix calling UnknownCommandEvent (#8232)

This commit is contained in:
Jake Potrebic 2023-02-16 18:07:30 -08:00 committed by GitHub
parent 8fced9d5ab
commit f9dc371fd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 189 additions and 107 deletions

View file

@ -5,10 +5,10 @@ Subject: [PATCH] Empty commands shall not be dispatched
diff --git a/src/main/java/net/minecraft/commands/Commands.java b/src/main/java/net/minecraft/commands/Commands.java
index feb9e827357b3ffb76dfff90350e513592441d8e..03a926990ecfa97d8fbc20a15ffb7fcb48fed06a 100644
index b9614977b902edc59b4f319f5c1051bcb20dc9fc..80ab8903b340881ca45b46caa7f03e605796080d 100644
--- a/src/main/java/net/minecraft/commands/Commands.java
+++ b/src/main/java/net/minecraft/commands/Commands.java
@@ -253,6 +253,7 @@ public class Commands {
@@ -255,6 +255,7 @@ public class Commands {
command = event.getCommand();
String[] args = command.split(" ");