diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index d7a88aef..c87438e4 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -985,8 +985,14 @@ public abstract class AbstractCharacter extends AbstractWorldObject { @Override public final void setLoc(final Vector3fImmutable value) { + Regions region = Regions.GetRegionForTeleport(value); + if(region != null){ + this.region = region; + } + super.setLoc(value); // set the location in the world this.resetLastSetLocUpdate(); + } public Vector3fImmutable getMovementLoc() {