2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/PacketPlayInBlockPlace.java
|
|
|
|
+++ b/net/minecraft/server/PacketPlayInBlockPlace.java
|
2015-02-26 23:41:06 +01:00
|
|
|
@@ -12,6 +12,8 @@
|
2014-11-29 00:27:09 +01:00
|
|
|
private float f;
|
|
|
|
private float g;
|
|
|
|
|
2015-02-26 23:41:06 +01:00
|
|
|
+ public long timestamp; // CraftBukkit
|
|
|
|
+
|
2014-11-29 00:27:09 +01:00
|
|
|
public PacketPlayInBlockPlace() {}
|
|
|
|
|
2015-02-26 23:41:06 +01:00
|
|
|
public PacketPlayInBlockPlace(ItemStack itemstack) {
|
|
|
|
@@ -28,6 +30,7 @@
|
2014-11-29 00:27:09 +01:00
|
|
|
}
|
|
|
|
|
2015-02-26 23:41:06 +01:00
|
|
|
public void a(PacketDataSerializer packetdataserializer) throws IOException {
|
2014-11-29 00:27:09 +01:00
|
|
|
+ timestamp = System.currentTimeMillis(); // CraftBukkit
|
|
|
|
this.b = packetdataserializer.c();
|
|
|
|
this.c = packetdataserializer.readUnsignedByte();
|
|
|
|
this.d = packetdataserializer.i();
|
2015-02-26 23:41:06 +01:00
|
|
|
@@ -72,8 +75,4 @@
|
|
|
|
public float f() {
|
2014-11-29 00:27:09 +01:00
|
|
|
return this.g;
|
|
|
|
}
|
2015-02-26 23:41:06 +01:00
|
|
|
-
|
2014-11-29 00:27:09 +01:00
|
|
|
- public void a(PacketListener packetlistener) {
|
|
|
|
- this.a((PacketListenerPlayIn) packetlistener);
|
2015-02-26 23:41:06 +01:00
|
|
|
- }
|
2014-11-29 00:27:09 +01:00
|
|
|
}
|