From 73841ac1d947eb130082f266bbd7f7701f549d2d Mon Sep 17 00:00:00 2001 From: memetrollsXD Date: Wed, 3 Aug 2022 04:15:56 +0200 Subject: [PATCH] Comment out entity despawning --- src/server/packets/SceneEntityMoveCsReq.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/packets/SceneEntityMoveCsReq.ts b/src/server/packets/SceneEntityMoveCsReq.ts index 0e55457..2370c65 100644 --- a/src/server/packets/SceneEntityMoveCsReq.ts +++ b/src/server/packets/SceneEntityMoveCsReq.ts @@ -11,7 +11,7 @@ export default async function handle(session: Session, packet: Packet) { for (const entityMotion of body.entityMotionList) { const entity = session.player.scene.entities.get(entityMotion.entityId); if (!entity) { //what?? - session.player.scene.despawnEntity(entityMotion.entityId); + // session.player.scene.despawnEntity(entityMotion.entityId); continue; } const motion = entityMotion.motion;