3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00
Paper/nms-patches/PacketPlayInBlockPlace.patch
2016-03-01 09:32:45 +11:00

20 Zeilen
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);
}