diff options
author | Jake Potrebic <[email protected]> | 2024-04-27 18:18:20 -0700 |
---|---|---|
committer | Jake Potrebic <[email protected]> | 2024-04-27 18:18:20 -0700 |
commit | d93c6f91f7d5647ca347e5d434ebb702cc0e8e0c (patch) | |
tree | 6aaabd32264510b60c8f3036f8c0b6ecd6259e91 /patches/api | |
parent | 3e90a1918392a435cbfe40eea6f077076faf275a (diff) | |
download | Paper-d93c6f91f7d5647ca347e5d434ebb702cc0e8e0c.tar.gz Paper-d93c6f91f7d5647ca347e5d434ebb702cc0e8e0c.zip |
remove calls to DoNotUse methods
Diffstat (limited to 'patches/api')
-rw-r--r-- | patches/api/0288-Add-PlayerKickEvent-causes.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/patches/api/0288-Add-PlayerKickEvent-causes.patch b/patches/api/0288-Add-PlayerKickEvent-causes.patch index eea9e754d1..5bded2058c 100644 --- a/patches/api/0288-Add-PlayerKickEvent-causes.patch +++ b/patches/api/0288-Add-PlayerKickEvent-causes.patch @@ -24,7 +24,7 @@ index 752b2bac47588c0f75a13a7e6ec2be3c2f5a149e..b177daa7a974125dc4ccf1bc6d119ad4 /** diff --git a/src/main/java/org/bukkit/event/player/PlayerKickEvent.java b/src/main/java/org/bukkit/event/player/PlayerKickEvent.java -index 997b06c19a5277656521e0e298f2958c209f1da1..f7f864a2b46129e4d61bc87f3e23c343417aa094 100644 +index 997b06c19a5277656521e0e298f2958c209f1da1..b8bf61bea73086c61dce6230686e627dc324ebe0 100644 --- a/src/main/java/org/bukkit/event/player/PlayerKickEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerKickEvent.java @@ -12,6 +12,7 @@ public class PlayerKickEvent extends PlayerEvent implements Cancellable { @@ -62,7 +62,7 @@ index 997b06c19a5277656521e0e298f2958c209f1da1..f7f864a2b46129e4d61bc87f3e23c343 } /** -@@ -132,4 +145,77 @@ public class PlayerKickEvent extends PlayerEvent implements Cancellable { +@@ -132,4 +145,79 @@ public class PlayerKickEvent extends PlayerEvent implements Cancellable { public static HandlerList getHandlerList() { return handlers; } @@ -105,6 +105,8 @@ index 997b06c19a5277656521e0e298f2958c209f1da1..f7f864a2b46129e4d61bc87f3e23c343 + + INVALID_PAYLOAD, + ++ INVALID_COOKIE, ++ + SPAM, + + ILLEGAL_ACTION, |