mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 19:15:32 +01:00
20 lines
555 B
Diff
20 lines
555 B
Diff
--- a/net/minecraft/server/PacketPlayInBlockPlace.java
|
|
+++ b/net/minecraft/server/PacketPlayInBlockPlace.java
|
|
@@ -6,6 +6,8 @@
|
|
|
|
private EnumHand a;
|
|
|
|
+ public long timestamp; // CraftBukkit
|
|
+
|
|
public PacketPlayInBlockPlace() {}
|
|
|
|
public PacketPlayInBlockPlace(EnumHand enumhand) {
|
|
@@ -13,6 +15,7 @@
|
|
}
|
|
|
|
public void a(PacketDataSerializer packetdataserializer) throws IOException {
|
|
+ this.timestamp = System.currentTimeMillis(); // CraftBukkit
|
|
this.a = (EnumHand) packetdataserializer.a(EnumHand.class);
|
|
}
|
|
|