diff options
author | Jason Penilla <[email protected]> | 2023-10-26 16:34:58 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-26 16:34:58 -0700 |
commit | b974a6b6f3a989050bf4af344be27da46de9041e (patch) | |
tree | 38dd09a4206d7548dd2939a9b7f6f55323c97727 /patches/server/0903-Add-missing-SpigotConfig-logCommands-check.patch | |
parent | acc6d012b0bb7c2e781c3506a2f598adea460ae8 (diff) | |
download | Paper-b974a6b6f3a989050bf4af344be27da46de9041e.tar.gz Paper-b974a6b6f3a989050bf4af344be27da46de9041e.zip |
Update paperweight to 1.5.9 (#9872)
Diffstat (limited to 'patches/server/0903-Add-missing-SpigotConfig-logCommands-check.patch')
-rw-r--r-- | patches/server/0903-Add-missing-SpigotConfig-logCommands-check.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0903-Add-missing-SpigotConfig-logCommands-check.patch b/patches/server/0903-Add-missing-SpigotConfig-logCommands-check.patch index 128115cbc3..6234450db8 100644 --- a/patches/server/0903-Add-missing-SpigotConfig-logCommands-check.patch +++ b/patches/server/0903-Add-missing-SpigotConfig-logCommands-check.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Add missing SpigotConfig logCommands check diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index 647069b24b16aaa5f9b77a32932d8b072343331c..cb12c626db3bdc021895cbfb3fab749a0ef5079f 100644 +index 0cd46c761253c197e94b16a78f15110b35b12c12..a6630c0aefb31b4b07b62219e27ce724325d291c 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -2112,7 +2112,9 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl @@ -16,5 +16,5 @@ index 647069b24b16aaa5f9b77a32932d8b072343331c..cb12c626db3bdc021895cbfb3fab749a ServerGamePacketListenerImpl.LOGGER.info(this.player.getScoreboardName() + " issued server command: " + command); + } // Paper - PlayerCommandPreprocessEvent event = new PlayerCommandPreprocessEvent(getCraftPlayer(), command, new LazyPlayerSet(server)); + PlayerCommandPreprocessEvent event = new PlayerCommandPreprocessEvent(this.getCraftPlayer(), command, new LazyPlayerSet(this.server)); this.cserver.getPluginManager().callEvent(event); |