diff --git a/src/main/java/cactusServer/entities/Player.java b/src/main/java/cactusServer/entities/Player.java index 18efda5..baff8ad 100644 --- a/src/main/java/cactusServer/entities/Player.java +++ b/src/main/java/cactusServer/entities/Player.java @@ -138,7 +138,7 @@ } public Player update(String characterID, Position3D position, Quaternion3D angle, CameraState cameraState, - EmoteState.EmoteType animationClassToStart) { + EmoteState.EmoteType animationClassToStart, long lastUpdateTime) { setPosition(position); setAngle(angle); if (!this.characterID.equals(characterID)) { @@ -147,6 +147,7 @@ setCameraState(cameraState); updateEmoteType(animationClassToStart); // updateAreaURI(); + setLastUpdateTime(lastUpdateTime); return this; }