ratelimited packet is logged to console on kick (#9292)

This commit is contained in:
Samir 2023-06-21 09:36:14 -04:00 committed by GitHub
parent c613877e54
commit b1696788d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
119 changed files with 139 additions and 136 deletions

View file

@ -106,7 +106,7 @@ index 69a1852905dd4724c30ac8ab88c14251eee2c371..17b3d5de58a9ef3acc67624c46cd6bbd
public Location getLastDeathLocation() {
if (this.getData().contains("LastDeathLocation", 10)) {
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
index e572dbdbd02e6b7307172e0b6f80d9b6e7fbce60..25e8d025c3542cdb08a9228dc5fb2d1944d51701 100644
index dc0802c35836009d2411135d91a25de0746e64e6..7f595b559afc1fe0bc1159d2555050bd87b81983 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
@@ -186,6 +186,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {