geforkt von Mirrors/Paper
33 Zeilen
1.0 KiB
Diff
33 Zeilen
1.0 KiB
Diff
|
--- ../work/decompile-bb26c12b/net/minecraft/server/PacketPlayInBlockPlace.java 2014-11-27 08:59:46.813421353 +1100
|
||
|
+++ src/main/java/net/minecraft/server/PacketPlayInBlockPlace.java 2014-11-27 08:42:10.152850911 +1100
|
||
|
@@ -9,6 +9,8 @@
|
||
|
private float e;
|
||
|
private float f;
|
||
|
private float g;
|
||
|
+
|
||
|
+ public long timestamp; // CraftBukkit
|
||
|
|
||
|
public PacketPlayInBlockPlace() {}
|
||
|
|
||
|
@@ -26,6 +28,7 @@
|
||
|
}
|
||
|
|
||
|
public void a(PacketDataSerializer packetdataserializer) {
|
||
|
+ timestamp = System.currentTimeMillis(); // CraftBukkit
|
||
|
this.b = packetdataserializer.c();
|
||
|
this.c = packetdataserializer.readUnsignedByte();
|
||
|
this.d = packetdataserializer.i();
|
||
|
@@ -71,7 +74,10 @@
|
||
|
return this.g;
|
||
|
}
|
||
|
|
||
|
- public void a(PacketListener packetlistener) {
|
||
|
- this.a((PacketListenerPlayIn) packetlistener);
|
||
|
+ // CraftBukkit start - fix decompile error
|
||
|
+ @Override
|
||
|
+ public void a(PacketListener pl) {
|
||
|
+ a((PacketListenerPlayIn)pl);
|
||
|
}
|
||
|
+ // CraftBukkit end
|
||
|
}
|