split server #3
This commit is contained in:
parent
8f8abfa0d3
commit
19f3813338
6 changed files with 83 additions and 5 deletions
|
@ -96,6 +96,7 @@ import game.packet.SPacketMessage;
|
|||
import game.packet.SPacketMultiBlockChange;
|
||||
import game.packet.SPacketPlayerPosLook;
|
||||
import game.packet.SPacketRespawn;
|
||||
import game.packet.SPacketServerTick;
|
||||
import game.packet.SPacketSetExperience;
|
||||
import game.packet.SPacketSkin;
|
||||
import game.packet.SPacketSpawnMob;
|
||||
|
@ -927,6 +928,12 @@ public class ClientPlayer extends NetHandler
|
|||
this.gameController.setTicked(packetIn.getServerinfo());
|
||||
}
|
||||
|
||||
public void handleServerTick(SPacketServerTick packet)
|
||||
{
|
||||
NetHandler.checkThread(packet, this, this.gameController);
|
||||
this.gameController.setLastTick(packet.getTime());
|
||||
}
|
||||
|
||||
// public void handleCompass(SPacketCompass packetIn)
|
||||
// {
|
||||
// NetHandler.checkThread(packetIn, this, this.gameController, this.clientWorldController);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue