mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
Update Paper
This commit is contained in:
@@ -4,4 +4,4 @@ version = 1.19.1-R0.1-SNAPSHOT
|
||||
mcVersion = 1.19.1
|
||||
packageVersion = 1_19_R1
|
||||
org.gradle.jvmargs=-Xmx2G
|
||||
paperRef=e0486ae2cde50eaa51de09c81c367f85d46f990e
|
||||
paperRef=02831e3369cc9ad76a3add2e4140eb1e6d67cd4f
|
||||
|
||||
@@ -44,7 +44,7 @@ index d27f115b74fe00623985255d1027656166c1c459..b5d5c2346cad59dabffc0c378b4f9fda
|
||||
|
||||
protected boolean convertOldUsers() {
|
||||
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||
index a68b737cdd1e9f1054e0fc3bfee92c20a062fab5..6e21df6264029c2a4c58d93f091f1e7832633adb 100644
|
||||
index 2fab929b6775238d031ca3305b61af3cbe920a06..ccd8fd62a824566ffd44083177280701de2cd3e1 100644
|
||||
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||
@@ -75,6 +75,8 @@ import net.minecraft.network.protocol.game.ClientboundContainerSetSlotPacket;
|
||||
@@ -56,7 +56,7 @@ index a68b737cdd1e9f1054e0fc3bfee92c20a062fab5..6e21df6264029c2a4c58d93f091f1e78
|
||||
import net.minecraft.network.protocol.game.ClientboundPlayerPositionPacket;
|
||||
import net.minecraft.network.protocol.game.ClientboundSetCarriedItemPacket;
|
||||
import net.minecraft.network.protocol.game.ClientboundSetDefaultSpawnPositionPacket;
|
||||
@@ -2148,10 +2150,30 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
|
||||
@@ -2149,10 +2151,30 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
|
||||
|
||||
@Override
|
||||
public void send(Packet<?> packet) {
|
||||
@@ -87,7 +87,7 @@ index a68b737cdd1e9f1054e0fc3bfee92c20a062fab5..6e21df6264029c2a4c58d93f091f1e78
|
||||
// CraftBukkit start
|
||||
if (packet == null || this.processedDisconnect) { // Spigot
|
||||
return;
|
||||
@@ -2555,6 +2577,11 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
|
||||
@@ -2574,6 +2596,11 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
|
||||
}
|
||||
|
||||
private void broadcastChatMessage(PlayerChatMessage playerchatmessage) {
|
||||
|
||||
Reference in New Issue
Block a user