9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2026-01-03 22:26:12 +00:00

Update Paper

This commit is contained in:
violetc
2023-01-18 11:02:44 +08:00
parent a0c458ba41
commit 2a48f879bc
3 changed files with 5 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ index 78f112575c2f8973e8aa66fb0fc44a18ec4758b5..308879d9b04aa95a83926ba795da53ce
ServerGamePacketListenerImpl.LOGGER.error("Couldn\'t dispatch custom payload", ex);
this.disconnect("Invalid custom payload!", org.bukkit.event.player.PlayerKickEvent.Cause.INVALID_PAYLOAD);
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
index aedb759607afcfa7a6127709506e798c25b81a37..57b60e25f407ff0b8b2283f92a8ef00e9cb10d42 100644
index 7b309f0fd34ca1071f221d5b97288f400b69c00a..7ee442a40b1e658d87faeefa08b2b08dee25b692 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
@@ -335,6 +335,7 @@ public abstract class PlayerList {
@@ -51,7 +51,7 @@ index aedb759607afcfa7a6127709506e798c25b81a37..57b60e25f407ff0b8b2283f92a8ef00e
// Paper end
ServerLevel worldserver = entityplayer.getLevel();
@@ -1531,7 +1533,7 @@ public abstract class PlayerList {
@@ -1540,7 +1542,7 @@ public abstract class PlayerList {
entityplayer.connection.send(packetplayoutrecipeupdate);
entityplayer.getRecipeBook().sendInitialRecipeBook(entityplayer);
}