From d8a9c7be4227b2243968b63ab7cc7a00098c93ad Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Thu, 26 Feb 2015 22:41:06 +0000 Subject: Update to Minecraft 1.8.3 --- nms-patches/PacketPlayInBlockPlace.patch | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'nms-patches/PacketPlayInBlockPlace.patch') diff --git a/nms-patches/PacketPlayInBlockPlace.patch b/nms-patches/PacketPlayInBlockPlace.patch index c51173a1..b125d99e 100644 --- a/nms-patches/PacketPlayInBlockPlace.patch +++ b/nms-patches/PacketPlayInBlockPlace.patch @@ -1,32 +1,28 @@ ---- ../work/decompile-8eb82bde//net/minecraft/server/PacketPlayInBlockPlace.java 2014-11-28 17:43:43.273707431 +0000 -+++ src/main/java/net/minecraft/server/PacketPlayInBlockPlace.java 2014-11-28 17:38:21.000000000 +0000 -@@ -9,6 +9,8 @@ - private float e; +--- /home/matt/mc-dev-private//net/minecraft/server/PacketPlayInBlockPlace.java 2015-02-26 22:40:22.907608136 +0000 ++++ src/main/java/net/minecraft/server/PacketPlayInBlockPlace.java 2015-02-26 22:40:22.907608136 +0000 +@@ -12,6 +12,8 @@ private float f; private float g; -+ -+ public long timestamp; // CraftBukkit ++ public long timestamp; // CraftBukkit ++ public PacketPlayInBlockPlace() {} -@@ -26,6 +28,7 @@ + public PacketPlayInBlockPlace(ItemStack itemstack) { +@@ -28,6 +30,7 @@ } - public void a(PacketDataSerializer packetdataserializer) { + public void a(PacketDataSerializer packetdataserializer) throws IOException { + timestamp = System.currentTimeMillis(); // CraftBukkit this.b = packetdataserializer.c(); this.c = packetdataserializer.readUnsignedByte(); this.d = packetdataserializer.i(); -@@ -71,7 +74,10 @@ +@@ -72,8 +75,4 @@ + public float f() { return this.g; } - +- - public void a(PacketListener packetlistener) { - this.a((PacketListenerPlayIn) packetlistener); -+ // CraftBukkit start - fix decompile error -+ @Override -+ public void a(PacketListener pl) { -+ a((PacketListenerPlayIn)pl); - } -+ // CraftBukkit end +- } } -- cgit v1.2.3