Skip to content

Commit

Permalink
Updated Upstream (Paper)
Browse files Browse the repository at this point in the history
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
d5cb9308f fix #5224
d23f8b62e fix? #5222
0f2575de2 fix? #5222
7c3499702 fix? #5218
c8eec830b fix #5217
a235c77ce Adventure 4.5.0
  • Loading branch information
jpenilla committed Feb 22, 2021
1 parent 55af107 commit 274c7b2
Show file tree
Hide file tree
Showing 15 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Paper
Submodule Paper updated 47 files
+22 −9 Spigot-API-Patches/0005-Adventure.patch
+2 −2 Spigot-API-Patches/0023-Use-ASM-for-event-executors.patch
+2 −2 Spigot-API-Patches/0067-Allow-plugins-to-use-SLF4J-for-logging.patch
+2 −2 Spigot-API-Patches/0258-Better-AnnotationTest-printout.patch
+2 −2 Spigot-API-Patches/0263-Return-chat-component-with-empty-text-instead-of-thr.patch
+47 −42 Spigot-Server-Patches/0010-Adventure.patch
+2 −2 Spigot-Server-Patches/0045-Ensure-commands-are-not-ran-async.patch
+2 −2 Spigot-Server-Patches/0059-Complete-resource-pack-API.patch
+2 −2 Spigot-Server-Patches/0078-Add-PlayerUseUnknownEntityEvent.patch
+3 −3 Spigot-Server-Patches/0083-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch
+2 −2 Spigot-Server-Patches/0110-Configurable-packet-in-spam-threshold.patch
+2 −2 Spigot-Server-Patches/0130-Properly-fix-item-duplication-bug.patch
+2 −2 Spigot-Server-Patches/0144-Add-option-to-make-parrots-stay-on-shoulders-despite.patch
+2 −2 Spigot-Server-Patches/0170-Add-PlayerJumpEvent.patch
+2 −2 Spigot-Server-Patches/0171-handle-PacketPlayInKeepAlive-async.patch
+3 −3 Spigot-Server-Patches/0180-AsyncTabCompleteEvent.patch
+2 −2 Spigot-Server-Patches/0209-Fix-exploit-that-allowed-colored-signs-to-be-created.patch
+4 −4 Spigot-Server-Patches/0234-InventoryCloseEvent-Reason-API.patch
+2 −2 Spigot-Server-Patches/0236-Refresh-player-inventory-when-cancelling-PlayerInter.patch
+2 −2 Spigot-Server-Patches/0258-Break-up-and-make-tab-spam-limits-configurable.patch
+2 −2 Spigot-Server-Patches/0298-Call-player-spectator-target-events-and-improve-impl.patch
+4 −4 Spigot-Server-Patches/0303-Add-option-to-prevent-players-from-moving-into-unloa.patch
+2 −2 Spigot-Server-Patches/0311-Don-t-allow-digging-into-unloaded-chunks.patch
+2 −2 Spigot-Server-Patches/0312-Book-Size-Limits.patch
+2 −2 Spigot-Server-Patches/0326-Fix-sign-edit-memory-leak.patch
+2 −2 Spigot-Server-Patches/0327-Limit-Client-Sign-length-more.patch
+2 −2 Spigot-Server-Patches/0338-Update-entity-Metadata-for-all-tracked-players.patch
+2 −2 Spigot-Server-Patches/0347-Fix-CB-call-to-changed-postToMainThread-method.patch
+2 −2 Spigot-Server-Patches/0369-Asynchronous-chunk-IO-and-loading.patch
+2 −2 Spigot-Server-Patches/0370-Use-getChunkIfLoadedImmediately-in-places.patch
+2 −2 Spigot-Server-Patches/0385-Fix-AssertionError-when-player-hand-set-to-empty-typ.patch
+2 −2 Spigot-Server-Patches/0413-Prevent-teleporting-dead-entities.patch
+3 −3 Spigot-Server-Patches/0453-Load-Chunks-for-Login-Asynchronously.patch
+3 −3 Spigot-Server-Patches/0460-Implement-Brigadier-Mojang-API.patch
+2 −2 Spigot-Server-Patches/0462-Validate-PickItem-Packet-and-kick-for-invalid.patch
+3 −3 Spigot-Server-Patches/0486-Implement-Chunk-Priority-Urgency-System-for-Chunks.patch
+2 −2 Spigot-Server-Patches/0500-Prevent-position-desync-in-playerconnection-causing-.patch
+2 −2 Spigot-Server-Patches/0504-Add-and-implement-PlayerRecipeBookClickEvent.patch
+3 −3 Spigot-Server-Patches/0507-Add-permission-for-command-blocks.patch
+2 −2 Spigot-Server-Patches/0510-Fix-Per-World-Difficulty-Remembering-Difficulty.patch
+2 −2 Spigot-Server-Patches/0532-Move-range-check-for-block-placing-up.patch
+4 −4 Spigot-Server-Patches/0547-Brand-support.patch
+4 −4 Spigot-Server-Patches/0569-Fix-Entity-Teleportation-and-cancel-velocity-if-tele.patch
+4 −4 Spigot-Server-Patches/0582-Fix-for-large-move-vectors-crashing-server.patch
+5 −5 Spigot-Server-Patches/0598-Add-API-for-quit-reason.patch
+2 −2 Spigot-Server-Patches/0615-Limit-recipe-packets.patch
+2 −2 Spigot-Server-Patches/0632-Fix-interact-event-not-being-called-in-adventure.patch
2 changes: 1 addition & 1 deletion patches/api/0001-Tuinity-API-Changes.patch
Expand Up @@ -8,7 +8,7 @@ Tuinity config
API to retrieve raw YamlConfiguration + timing exports

diff --git a/pom.xml b/pom.xml
index 5bc8dd2489d34c598f8079d13058eeb0a9b79713..74ca13bb403f86aa8f6510972a5c076002ed787a 100644
index 0d922ea17c675d6e3a7106937918d2a818814fba..6c88a9d9f2292e1e65bd631aedbe15e0430d3af4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,18 +3,18 @@
Expand Down
24 changes: 12 additions & 12 deletions patches/server/0001-Tuinity-Server-Changes.patch
Expand Up @@ -13756,10 +13756,10 @@ index 49008cdec739b19409fdaf1b0ed806a6c0e93200..61570ab947b5a153a4c2bcb5a09344f0
}
// Paper end - optimised tracker
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index c798eb012ab2ac0aab45d3a0f8c61cd1425d3725..8c8359bb696afb579796b23a4d26708986c1b6e2 100644
index ad33505bb7896dce6c4381b4652316ef734e9e48..9bd88a7a42ede0029b79eae51a4b7acf1db3fc97 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -419,7 +419,9 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -423,7 +423,9 @@ public class PlayerConnection implements PacketListenerPlayIn {
speed *= 2f; // TODO: Get the speed of the vehicle instead of the player

// Paper start - Prevent moving into unloaded chunks
Expand All @@ -13770,7 +13770,7 @@ index c798eb012ab2ac0aab45d3a0f8c61cd1425d3725..8c8359bb696afb579796b23a4d267089
this.networkManager.sendPacket(new PacketPlayOutVehicleMove(entity));
return;
}
@@ -432,12 +434,14 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -436,12 +438,14 @@ public class PlayerConnection implements PacketListenerPlayIn {
return;
}

Expand All @@ -13786,7 +13786,7 @@ index c798eb012ab2ac0aab45d3a0f8c61cd1425d3725..8c8359bb696afb579796b23a4d267089
double d11 = d7;

d6 = d3 - entity.locX();
@@ -451,16 +455,25 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -455,16 +459,25 @@ public class PlayerConnection implements PacketListenerPlayIn {
boolean flag1 = false;

if (d10 > org.spigotmc.SpigotConfig.movedWronglyThreshold) { // Spigot
Expand Down Expand Up @@ -13816,7 +13816,7 @@ index c798eb012ab2ac0aab45d3a0f8c61cd1425d3725..8c8359bb696afb579796b23a4d267089
entity.setLocation(d0, d1, d2, f, f1);
player.setLocation(d0, d1, d2, this.player.yaw, this.player.pitch); // CraftBukkit
this.networkManager.sendPacket(new PacketPlayOutVehicleMove(entity));
@@ -546,7 +559,32 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -550,7 +563,32 @@ public class PlayerConnection implements PacketListenerPlayIn {
}

private boolean a(Entity entity) {
Expand Down Expand Up @@ -13850,7 +13850,7 @@ index c798eb012ab2ac0aab45d3a0f8c61cd1425d3725..8c8359bb696afb579796b23a4d267089
}

@Override
@@ -1068,7 +1106,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1072,7 +1110,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
}

if (this.teleportPos != null) {
Expand All @@ -13859,7 +13859,7 @@ index c798eb012ab2ac0aab45d3a0f8c61cd1425d3725..8c8359bb696afb579796b23a4d267089
this.A = this.e;
this.a(this.teleportPos.x, this.teleportPos.y, this.teleportPos.z, this.player.yaw, this.player.pitch);
}
@@ -1138,7 +1176,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1142,7 +1180,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
speed = player.abilities.walkSpeed * 10f;
}
// Paper start - Prevent moving into unloaded chunks
Expand All @@ -13868,7 +13868,7 @@ index c798eb012ab2ac0aab45d3a0f8c61cd1425d3725..8c8359bb696afb579796b23a4d267089
this.internalTeleport(this.player.locX(), this.player.locY(), this.player.locZ(), this.player.yaw, this.player.pitch, Collections.emptySet());
return;
}
@@ -1155,7 +1193,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1159,7 +1197,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
}
}

Expand All @@ -13877,15 +13877,15 @@ index c798eb012ab2ac0aab45d3a0f8c61cd1425d3725..8c8359bb696afb579796b23a4d267089

d7 = d4 - this.o;
d8 = d5 - this.p;
@@ -1194,6 +1232,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1198,6 +1236,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
}

this.player.move(EnumMoveType.PLAYER, new Vec3D(d7, d8, d9));
+ boolean didCollide = toX != this.player.locX() || toY != this.player.locY() || toZ != this.player.locZ(); // Tuinity - needed here as the difference in Y can be reset - also note: this is only a guess at whether collisions took place, floating point errors can make this true when it shouldn't be...
this.player.setOnGround(packetplayinflying.b()); // CraftBukkit - SPIGOT-5810, SPIGOT-5835: reset by this.player.move
// Paper start - prevent position desync
if (this.teleportPos != null) {
@@ -1213,12 +1252,23 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1217,12 +1256,23 @@ public class PlayerConnection implements PacketListenerPlayIn {
boolean flag1 = false;

if (!this.player.H() && d11 > org.spigotmc.SpigotConfig.movedWronglyThreshold && !this.player.isSleeping() && !this.player.playerInteractManager.isCreative() && this.player.playerInteractManager.getGameMode() != EnumGamemode.SPECTATOR) { // Spigot
Expand All @@ -13911,7 +13911,7 @@ index c798eb012ab2ac0aab45d3a0f8c61cd1425d3725..8c8359bb696afb579796b23a4d267089
this.a(d0, d1, d2, f, f1);
} else {
// CraftBukkit start - fire PlayerMoveEvent
@@ -1305,6 +1355,26 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1309,6 +1359,26 @@ public class PlayerConnection implements PacketListenerPlayIn {
}
}

Expand Down Expand Up @@ -14122,7 +14122,7 @@ index 114e986e5132e5e4bb42d0f08a067429bce53ba6..05656ea8448aa569e8dd480461e2d5f7
this.player.playerConnection.sendPacket(new PacketPlayOutBlockChange(this.world, blockposition)); // CraftBukkit - SPIGOT-5196
}
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
index 4a20235f34dc272b0a7939b97cf3448919c4f753..60b2e560bbf4c5303e9334a496c6ced0e3c88b19 100644
index fefe71f95f94cae9e8d3d3de344155b5cd357fff..8e49de2f89aded40d760d57f4ddfcb84f73deb1d 100644
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
@@ -100,6 +100,7 @@ public abstract class PlayerList {
Expand Down
8 changes: 4 additions & 4 deletions patches/server/0008-AFK-API.patch
Expand Up @@ -149,7 +149,7 @@ index b5e1a860a2569d7668330827614d221b60f3fc78..5f85a1d513f4fdc21b64e1a2b6882e33
// Paper start
public static final Predicate<Entity> affectsSpawning = (entity) -> {
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 8c8359bb696afb579796b23a4d26708986c1b6e2..72bd179a0b2a07be3924b37fa9fb853df50a454d 100644
index 9bd88a7a42ede0029b79eae51a4b7acf1db3fc97..7034f2d09b7e9911cba7834832a901389e6690dc 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -252,6 +252,12 @@ public class PlayerConnection implements PacketListenerPlayIn {
Expand All @@ -165,7 +165,7 @@ index 8c8359bb696afb579796b23a4d26708986c1b6e2..72bd179a0b2a07be3924b37fa9fb853d
this.player.resetIdleTimer(); // CraftBukkit - SPIGOT-854
this.disconnect(new ChatMessage("multiplayer.disconnect.idling"));
}
@@ -517,6 +523,8 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -521,6 +527,8 @@ public class PlayerConnection implements PacketListenerPlayIn {
this.lastYaw = to.getYaw();
this.lastPitch = to.getPitch();

Expand All @@ -174,7 +174,7 @@ index 8c8359bb696afb579796b23a4d26708986c1b6e2..72bd179a0b2a07be3924b37fa9fb853d
// Skip the first time we do this
if (true) { // Spigot - don't skip any move events
Location oldTo = to.clone();
@@ -1253,7 +1261,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1257,7 +1265,7 @@ public class PlayerConnection implements PacketListenerPlayIn {

if (!this.player.H() && d11 > org.spigotmc.SpigotConfig.movedWronglyThreshold && !this.player.isSleeping() && !this.player.playerInteractManager.isCreative() && this.player.playerInteractManager.getGameMode() != EnumGamemode.SPECTATOR) { // Spigot
flag1 = true; // Tuinity - diff on change, this should be moved wrongly
Expand All @@ -183,7 +183,7 @@ index 8c8359bb696afb579796b23a4d26708986c1b6e2..72bd179a0b2a07be3924b37fa9fb853d
}

this.player.setLocation(d4, d5, d6, f, f1);
@@ -1303,6 +1311,8 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1307,6 +1315,8 @@ public class PlayerConnection implements PacketListenerPlayIn {
this.lastYaw = to.getYaw();
this.lastPitch = to.getPitch();

Expand Down
6 changes: 3 additions & 3 deletions patches/server/0016-Player-invulnerabilities.patch
Expand Up @@ -67,10 +67,10 @@ index 771f634a06eca998853830d78b4d1546dd2b4c67..f4f6e85bd98ce57bf2daeb9ea30bccc2
public Scoreboard getScoreboard() {
return getBukkitEntity().getScoreboard().getHandle();
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 72bd179a0b2a07be3924b37fa9fb853df50a454d..797b09fa01b039bd5f8ab30f0c4686dc7e1efe71 100644
index 7034f2d09b7e9911cba7834832a901389e6690dc..371285e86ef6d848c2a1c5eb1ce4bc2428405ccd 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -1733,6 +1733,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1737,6 +1737,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
PlayerConnectionUtils.ensureMainThread(packetplayinresourcepackstatus, this, this.player.getWorldServer());
// Paper start
PlayerResourcePackStatusEvent.Status packStatus = PlayerResourcePackStatusEvent.Status.values()[packetplayinresourcepackstatus.status.ordinal()];
Expand All @@ -79,7 +79,7 @@ index 72bd179a0b2a07be3924b37fa9fb853df50a454d..797b09fa01b039bd5f8ab30f0c4686dc
this.server.getPluginManager().callEvent(new PlayerResourcePackStatusEvent(getPlayer(), packStatus));
// Paper end
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
index 60b2e560bbf4c5303e9334a496c6ced0e3c88b19..6beb06bfce96d364122ceda6d702cfb7315e4312 100644
index 8e49de2f89aded40d760d57f4ddfcb84f73deb1d..3416691e1fa95fc94dcc2dccf4722e324e2ff33b 100644
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
@@ -918,6 +918,8 @@ public abstract class PlayerList {
Expand Down
4 changes: 2 additions & 2 deletions patches/server/0019-Alternative-Keepalive-Handling.patch
Expand Up @@ -17,7 +17,7 @@ index 8e93f1540ba5f995489c1fbcec70d10b011cd9c3..470f92c4fb0919d052b19acff8dff533
return this.a;
}
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 797b09fa01b039bd5f8ab30f0c4686dc7e1efe71..9b509d7aeba8297107c74f8a1429edc25edfb5ee 100644
index 371285e86ef6d848c2a1c5eb1ce4bc2428405ccd..82ac1971278c98d1d09e18b8e0abaacc358efcac 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -86,6 +86,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
Expand Down Expand Up @@ -50,7 +50,7 @@ index 797b09fa01b039bd5f8ab30f0c4686dc7e1efe71..9b509d7aeba8297107c74f8a1429edc2
if (this.isPendingPing()) {
if (!this.processedDisconnect && elapsedTime >= KEEPALIVE_LIMIT) { // check keepalive limit, don't fire if already disconnected
PlayerConnection.LOGGER.warn("{} was kicked due to keepalive timeout!", this.player.getName()); // more info
@@ -2909,6 +2925,16 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -2913,6 +2929,16 @@ public class PlayerConnection implements PacketListenerPlayIn {

@Override
public void a(PacketPlayInKeepAlive packetplayinkeepalive) {
Expand Down
4 changes: 2 additions & 2 deletions patches/server/0045-Signs-allow-color-codes.patch
Expand Up @@ -17,10 +17,10 @@ index f4f6e85bd98ce57bf2daeb9ea30bccc25fdae8ec..a76d4ed8a0baa09340fcf58e647afa1c
this.playerConnection.sendPacket(new PacketPlayOutOpenSignEditor(tileentitysign.getPosition()));
}
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 9b509d7aeba8297107c74f8a1429edc25edfb5ee..09c084e212fd6250656ad6c60e9884d2e23fe348 100644
index 82ac1971278c98d1d09e18b8e0abaacc358efcac..0054c4ec899146e5bb8cebebba2db2a0efc35323 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -2903,6 +2903,15 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -2907,6 +2907,15 @@ public class PlayerConnection implements PacketListenerPlayIn {
}
}
// Paper end
Expand Down
2 changes: 1 addition & 1 deletion patches/server/0054-Add-permission-for-F3-N-debug.patch
Expand Up @@ -5,7 +5,7 @@ Subject: [PATCH] Add permission for F3+N debug


diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
index 6beb06bfce96d364122ceda6d702cfb7315e4312..f8a3475af20ceed0e4ad5b6d779e848af43114e7 100644
index 3416691e1fa95fc94dcc2dccf4722e324e2ff33b..7734c06663b77a55b9ee87e72246919ade0fd039 100644
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
@@ -1077,6 +1077,7 @@ public abstract class PlayerList {
Expand Down
8 changes: 4 additions & 4 deletions patches/server/0083-Allow-color-codes-in-books.patch
Expand Up @@ -5,10 +5,10 @@ Subject: [PATCH] Allow color codes in books


diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 09c084e212fd6250656ad6c60e9884d2e23fe348..3c63788c7119d1fcd4c08f4e1d6e93da23e50e08 100644
index 0054c4ec899146e5bb8cebebba2db2a0efc35323..fd3c9904afa5eb6175d308ab046801cee7a21297 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -1054,7 +1054,8 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1058,7 +1058,8 @@ public class PlayerConnection implements PacketListenerPlayIn {
if (itemstack.getItem() == Items.WRITABLE_BOOK) {
NBTTagList nbttaglist = new NBTTagList();

Expand All @@ -18,7 +18,7 @@ index 09c084e212fd6250656ad6c60e9884d2e23fe348..3c63788c7119d1fcd4c08f4e1d6e93da
ItemStack old = itemstack.cloneItemStack(); // CraftBukkit
itemstack.a("pages", (NBTBase) nbttaglist);
CraftEventFactory.handleEditBookEvent(player, i, old, itemstack); // CraftBukkit
@@ -1072,13 +1073,14 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1076,13 +1077,14 @@ public class PlayerConnection implements PacketListenerPlayIn {
itemstack1.setTag(nbttagcompound.clone());
}

Expand All @@ -35,7 +35,7 @@ index 09c084e212fd6250656ad6c60e9884d2e23fe348..3c63788c7119d1fcd4c08f4e1d6e93da
ChatComponentText chatcomponenttext = new ChatComponentText(s1);
String s2 = IChatBaseComponent.ChatSerializer.a((IChatBaseComponent) chatcomponenttext);

@@ -1090,6 +1092,16 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -1094,6 +1096,16 @@ public class PlayerConnection implements PacketListenerPlayIn {
}
}

Expand Down
4 changes: 2 additions & 2 deletions patches/server/0084-Entity-lifespan.patch
Expand Up @@ -92,10 +92,10 @@ index 9807441d53fcf4ef7aaffe3801542f5a371eb7af..43cdeaae22bf020d0b3c1e1c56e65e73
}

diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 3c63788c7119d1fcd4c08f4e1d6e93da23e50e08..7ffc3c1d41b3b8fdd8f0e48f991f0ae4e1294c53 100644
index fd3c9904afa5eb6175d308ab046801cee7a21297..cdcf02a73d3dffecac3605f0c7438075e5bceac3 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -2299,6 +2299,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -2303,6 +2303,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
boolean triggerLeashUpdate = itemInHand != null && itemInHand.getItem() == Items.LEAD && entity instanceof EntityInsentient;
Item origItem = this.player.inventory.getItemInHand() == null ? null : this.player.inventory.getItemInHand().getItem();
PlayerInteractEntityEvent event;
Expand Down
4 changes: 2 additions & 2 deletions patches/server/0102-Ridables.patch
Expand Up @@ -4956,10 +4956,10 @@ index 0000000000000000000000000000000000000000..44929182dfd7ad847d9657c324f440cb
+ }
+}
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 7ffc3c1d41b3b8fdd8f0e48f991f0ae4e1294c53..050d6db2a6a0bd5922efd720f5a0cd99b3090144 100644
index cdcf02a73d3dffecac3605f0c7438075e5bceac3..c926b8b1f1233a3320c7f901162b2b4a098cff8c 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -2308,6 +2308,8 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -2312,6 +2312,8 @@ public class PlayerConnection implements PacketListenerPlayIn {
}
this.server.getPluginManager().callEvent(event);

Expand Down
Expand Up @@ -5,7 +5,7 @@ Subject: [PATCH] Spread out and optimise player list ticks


diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
index f8a3475af20ceed0e4ad5b6d779e848af43114e7..47f916a7fc2581720b628ffa6c720af2e459fd92 100644
index 7734c06663b77a55b9ee87e72246919ade0fd039..b0aa5fbb145ed86e96f1a95abab96352c3175c8b 100644
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
@@ -73,7 +73,7 @@ public abstract class PlayerList {
Expand Down
2 changes: 1 addition & 1 deletion patches/server/0152-Implement-TPSBar.patch
Expand Up @@ -37,7 +37,7 @@ index eea187723c1931a5db9a2d79a1abddd664d890a1..33d43478b1bc4b0ca3f16ba80e0cd99b
this.isRestarting = isRestarting;
if (flag) {
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
index 47f916a7fc2581720b628ffa6c720af2e459fd92..8f60273865d9f49420e25da71edc61175896fc62 100644
index b0aa5fbb145ed86e96f1a95abab96352c3175c8b..7b68d74f5b0917cce463c4f1c4e628ac5617da23 100644
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
@@ -517,6 +517,8 @@ public abstract class PlayerList {
Expand Down

0 comments on commit 274c7b2

Please sign in to comment.