diff options
author | BlockyTheDev <[email protected]> | 2023-08-15 18:41:56 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-08-15 09:41:56 -0700 |
commit | 6dc8e30c9275f7a172025b053d4970d1795c6104 (patch) | |
tree | 9f4abda4c535eb12de2efba74cf6fda9a597813c /patches/server/0838-Don-t-broadcast-messages-to-command-blocks.patch | |
parent | cbc89410881eb27c3ee3e296f2283eabd2f77e70 (diff) | |
download | Paper-6dc8e30c9275f7a172025b053d4970d1795c6104.tar.gz Paper-6dc8e30c9275f7a172025b053d4970d1795c6104.zip |
Fix startup and runtime crashes (experimental branch) (#9606)
* Fix startup error
* Fix runtime error
- The code with '.getKey().getKey().getKey()' looks a bit strange but is necessary so the results on the timings website are the same as before. It gets the key (String) from the NamespacedKey, of the key from the Keyed, from the key of the Map.Entry.
* [ci skip] Add myself to LICENSE.md
* Remove wildcard import
* Revert import order
Diffstat (limited to 'patches/server/0838-Don-t-broadcast-messages-to-command-blocks.patch')
-rw-r--r-- | patches/server/0838-Don-t-broadcast-messages-to-command-blocks.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0838-Don-t-broadcast-messages-to-command-blocks.patch b/patches/server/0838-Don-t-broadcast-messages-to-command-blocks.patch index 960470bd14..2279116a68 100644 --- a/patches/server/0838-Don-t-broadcast-messages-to-command-blocks.patch +++ b/patches/server/0838-Don-t-broadcast-messages-to-command-blocks.patch @@ -20,10 +20,10 @@ index e05eb08a9c229b371887676da510df948b896a85..ceeedbd88c56c08ec8b047c9ca2f14cc Date date = new Date(); diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -index 408c4c1a6da5c393b98a2a81f15e20029b08283b..1f7f9c2fb99c8c035f0ac87727582b58c158cdb3 100644 +index f496d10cb8b5fe311c8cf6c6fa98972ac22b3953..cb6425a458f4ae5ec9e54a108b76061493160a54 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -@@ -1802,7 +1802,7 @@ public final class CraftServer implements Server { +@@ -1801,7 +1801,7 @@ public final class CraftServer implements Server { // Paper end Set<CommandSender> recipients = new HashSet<>(); for (Permissible permissible : this.getPluginManager().getPermissionSubscriptions(permission)) { |