Keeping use mixin

This commit is contained in:
Sotr
2018-06-09 03:08:06 +08:00
parent 3b30c6b5f3
commit 02d56f9ed6
5 changed files with 78 additions and 8 deletions

View File

@@ -66,7 +66,6 @@ import co.aikar.timings.MinecraftTimings; // Paper
* 1) Add volatile to fields<br>
* 2) Expose private members<br>
* 3) Migrated keep alive packet handling to service thread<br>
* 4) Use currentMillis() instead of nanoTime() / 1000000
* @author cakoyo
*/
public class PlayerConnection implements PacketListenerPlayIn, ITickable {
@@ -2299,7 +2298,7 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
private long getCurrentMillis() { return d(); } // Paper - OBFHELPER
private long d() {
return System.currentTimeMillis(); // Akarin
return System.nanoTime() / 1000000L;
}
@Override