Archiviert
13
0
Dieses Repository wurde am 2024-12-25 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
Paper-Old/nms-patches/PacketPlayInBlockPlace.patch

20 Zeilen
555 B
Diff

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