This commit is contained in:
Riley Park
2021-02-22 00:03:03 -08:00
parent 4668201606
commit a1eebfea96
29 changed files with 102 additions and 101 deletions

View File

@@ -5,10 +5,10 @@ Subject: [PATCH] Add sendOpLevel API
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
index ab1c23c12619aaea67cf3a484af3046a3e7c4872..e1ab296811081a0d1449d48d16de065c070fde23 100644
index ae2af6bbd62ba3487b82afe4948cb3b2aa16bf2d..4a20235f34dc272b0a7939b97cf3448919c4f753 100644
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
@@ -1058,6 +1058,11 @@ public abstract class PlayerList {
@@ -1059,6 +1059,11 @@ public abstract class PlayerList {
}
private void a(EntityPlayer entityplayer, int i) {
@@ -20,7 +20,7 @@ index ab1c23c12619aaea67cf3a484af3046a3e7c4872..e1ab296811081a0d1449d48d16de065c
if (entityplayer.playerConnection != null) {
byte b0;
@@ -1072,8 +1077,10 @@ public abstract class PlayerList {
@@ -1073,8 +1078,10 @@ public abstract class PlayerList {
entityplayer.playerConnection.sendPacket(new PacketPlayOutEntityStatus(entityplayer, b0));
}