Updated Upstream (Paper)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
3dc82c200 deprecate IllegalPacketEvent (#4867)
This commit is contained in:
BillyGalbreath
2020-12-08 11:07:54 -06:00
parent 69790ff3ff
commit 1b40f871b8
10 changed files with 30 additions and 30 deletions

View File

@@ -92,10 +92,10 @@ index 202ccf2a7f..2fcd7f461a 100644
}
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 91941763dd..2c526846d7 100644
index bd206f1810..a57588acf0 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -2216,6 +2216,7 @@ public class PlayerConnection implements PacketListenerPlayIn {
@@ -2214,6 +2214,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;