|
|
|
@ -985,8 +985,14 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
@@ -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() { |
|
|
|
|