From 40c77df0fead98045f6a2fa321b8103b0668758b Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 8 Jan 2025 17:34:35 -0600 Subject: [PATCH] mob ai work --- src/engine/objects/AbstractCharacter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 3c942a8f..eb1345f9 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -983,6 +983,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject { public final void setLoc(final Vector3fImmutable value) { super.setLoc(value); // set the location in the world this.resetLastSetLocUpdate(); + WorldGrid.updateObject(this); } public Vector3fImmutable getMovementLoc() {