Comment out entity despawning
This commit is contained in:
parent
73593ef8e0
commit
73841ac1d9
@ -11,7 +11,7 @@ export default async function handle(session: Session, packet: Packet) {
|
|||||||
for (const entityMotion of body.entityMotionList) {
|
for (const entityMotion of body.entityMotionList) {
|
||||||
const entity = session.player.scene.entities.get(entityMotion.entityId);
|
const entity = session.player.scene.entities.get(entityMotion.entityId);
|
||||||
if (!entity) { //what??
|
if (!entity) { //what??
|
||||||
session.player.scene.despawnEntity(entityMotion.entityId);
|
// session.player.scene.despawnEntity(entityMotion.entityId);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
const motion = entityMotion.motion;
|
const motion = entityMotion.motion;
|
||||||
|
Loading…
Reference in New Issue
Block a user