mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Bulk pending cleanup.
This commit is contained in:
1 parent
b1f6d16bfa
commit
e2b1514daf
37 files changed
+203
-197
No files matched your search
@@ -105,16 +105,9 @@ public class NetServerHandler extends NetHandler {
|
||||
public void d() {
|
||||
this.h = false;
|
||||
++this.f;
|
||||
// this.minecraftServer.methodProfiler.a("packetflow"); // CraftBukkit - not in production code
|
||||
// CraftBukkit start
|
||||
try {
|
||||
this.networkManager.b();
|
||||
} catch (Exception ex) {
|
||||
logger.log(Level.WARNING, "Exception from " + this.player.name, ex);
|
||||
this.disconnect(ex.getClass().getName());
|
||||
}
|
||||
// CraftBukkit end
|
||||
// this.minecraftServer.methodProfiler.c("keepAlive"); // CraftBukkit - not in production code
|
||||
this.minecraftServer.methodProfiler.a("packetflow");
|
||||
this.networkManager.b();
|
||||
this.minecraftServer.methodProfiler.c("keepAlive");
|
||||
if ((long) this.f - this.l > 20L) {
|
||||
this.l = (long) this.f;
|
||||
this.j = System.nanoTime() / 1000000L;
|
||||
@@ -130,7 +123,7 @@ public class NetServerHandler extends NetHandler {
|
||||
--this.x;
|
||||
}
|
||||
|
||||
// this.minecraftServer.methodProfiler.c("playerTick"); // CraftBukkit - not in production code
|
||||
this.minecraftServer.methodProfiler.c("playerTick");
|
||||
if (!this.h && !this.player.viewingCredits) {
|
||||
this.player.g();
|
||||
if (this.player.vehicle == null) {
|
||||
@@ -138,7 +131,7 @@ public class NetServerHandler extends NetHandler {
|
||||
}
|
||||
}
|
||||
|
||||
// this.minecraftServer.methodProfiler.b(); // CraftBukkit - not in production code
|
||||
this.minecraftServer.methodProfiler.b();
|
||||
}
|
||||
|
||||
public void disconnect(String s) {
|
||||
|
||||
Reference in new issue
Block a user