1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-17 02:34:30 +01:00

Remove debug

Today is going to be a long day
This commit is contained in:
Shane Freeder 2020-08-25 13:30:52 +01:00
parent 77c45fe41a
commit d6f3b5e44f

View file

@ -43,7 +43,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
if (this.packetListener instanceof LoginListener) {
+ if ( ((LoginListener) this.packetListener).getLoginState() != LoginListener.EnumProtocolState.READY_TO_ACCEPT // Paper
+ || (joinAttemptsThisTick++ < MAX_PER_TICK)) { // Paper - limit the number of joins which can be processed each tick
+ System.out.println("tick " + joinAttemptsThisTick + "/" + MAX_PER_TICK);
((LoginListener) this.packetListener).tick();
+ } // Paper
}