mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 21:19:00 +01:00
29 lines
833 B
Diff
29 lines
833 B
Diff
--- a/net/minecraft/server/PacketPlayInBlockPlace.java
|
|
+++ b/net/minecraft/server/PacketPlayInBlockPlace.java
|
|
@@ -12,6 +12,8 @@
|
|
private float f;
|
|
private float g;
|
|
|
|
+ public long timestamp; // CraftBukkit
|
|
+
|
|
public PacketPlayInBlockPlace() {}
|
|
|
|
public PacketPlayInBlockPlace(ItemStack itemstack) {
|
|
@@ -28,6 +30,7 @@
|
|
}
|
|
|
|
public void a(PacketDataSerializer packetdataserializer) throws IOException {
|
|
+ timestamp = System.currentTimeMillis(); // CraftBukkit
|
|
this.b = packetdataserializer.c();
|
|
this.c = packetdataserializer.readUnsignedByte();
|
|
this.d = packetdataserializer.i();
|
|
@@ -72,8 +75,4 @@
|
|
public float f() {
|
|
return this.g;
|
|
}
|
|
-
|
|
- public void a(PacketListener packetlistener) {
|
|
- this.a((PacketListenerPlayIn) packetlistener);
|
|
- }
|
|
}
|