2015-05-25 18:37:24 +08:00
|
|
|
--- a/net/minecraft/server/PacketPlayInBlockPlace.java
|
|
|
|
+++ b/net/minecraft/server/PacketPlayInBlockPlace.java
|
2016-03-01 05:32:46 +08:00
|
|
|
@@ -6,6 +6,8 @@
|
|
|
|
|
|
|
|
private EnumHand a;
|
2014-11-29 07:27:09 +08:00
|
|
|
|
2015-02-27 06:41:06 +08:00
|
|
|
+ public long timestamp; // CraftBukkit
|
|
|
|
+
|
2014-11-29 07:27:09 +08:00
|
|
|
public PacketPlayInBlockPlace() {}
|
|
|
|
|
2016-03-01 05:32:46 +08:00
|
|
|
public PacketPlayInBlockPlace(EnumHand enumhand) {
|
|
|
|
@@ -13,6 +15,7 @@
|
2014-11-29 07:27:09 +08:00
|
|
|
}
|
|
|
|
|
2015-02-27 06:41:06 +08:00
|
|
|
public void a(PacketDataSerializer packetdataserializer) throws IOException {
|
2016-03-01 05:32:46 +08:00
|
|
|
+ this.timestamp = System.currentTimeMillis(); // CraftBukkit
|
|
|
|
this.a = (EnumHand) packetdataserializer.a(EnumHand.class);
|
2014-11-29 07:27:09 +08:00
|
|
|
}
|
2016-03-01 05:32:46 +08:00
|
|
|
|