aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0859-Prevent-causing-expired-keys-from-impacting-new-join.patch
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2024-02-22 16:23:15 +0000
committerShane Freeder <[email protected]>2024-02-22 16:23:15 +0000
commit3ea95efdebba7254e842dec66214f71de4721993 (patch)
tree6e55ce324f94bae3f63fae40d816087adb9b8e83 /patches/server/0859-Prevent-causing-expired-keys-from-impacting-new-join.patch
parent4939f8711884901ddf1c56337f606de71cdae78d (diff)
downloadPaper-3ea95efdebba7254e842dec66214f71de4721993.tar.gz
Paper-3ea95efdebba7254e842dec66214f71de4721993.zip
Do not access world state to see if we can see a Player
Thrown into the adventure patch because I don't see the justification of a patch existing for something like this.
Diffstat (limited to 'patches/server/0859-Prevent-causing-expired-keys-from-impacting-new-join.patch')
-rw-r--r--patches/server/0859-Prevent-causing-expired-keys-from-impacting-new-join.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0859-Prevent-causing-expired-keys-from-impacting-new-join.patch b/patches/server/0859-Prevent-causing-expired-keys-from-impacting-new-join.patch
index 00bb9c643b..3649dc015b 100644
--- a/patches/server/0859-Prevent-causing-expired-keys-from-impacting-new-join.patch
+++ b/patches/server/0859-Prevent-causing-expired-keys-from-impacting-new-join.patch
@@ -24,7 +24,7 @@ index 0e54e8faa48751a651b953bec72543a94edf74bc..d43106eb89b14667e85cd6e8fa047d64
UPDATE_GAME_MODE((serialized, buf) -> {
serialized.gameMode = GameType.byId(buf.readVarInt());
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index 2e12d2f22485644bc2fc3d5235cfd3bc755f6c72..d8dd44d0f247ab05bc8323548bdec0f67ab641bc 100644
+index c9dab47fe3db73b31b40e071d37f1be63401c19d..69118af2a873f23f6543676db39263bfeb81b4f1 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
@@ -286,6 +286,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
@@ -49,7 +49,7 @@ index 2e12d2f22485644bc2fc3d5235cfd3bc755f6c72..d8dd44d0f247ab05bc8323548bdec0f6
}
public void resetPosition() {
-@@ -3333,6 +3341,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
+@@ -3337,6 +3345,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
private void resetPlayerChatState(RemoteChatSession session) {
this.chatSession = session;