Project reformat.
This commit is contained in:
@@ -503,9 +503,9 @@ public abstract class AbstractWorldObject extends AbstractGameObject {
|
||||
this.lastLoc = new Vector3fImmutable(this.loc);
|
||||
this.loc = loc;
|
||||
|
||||
if(this instanceof AbstractCharacter && this.region != null){
|
||||
if (this instanceof AbstractCharacter && this.region != null) {
|
||||
this.loc = this.loc.setY(this.region.lerpY(this) + this.getAltitude());
|
||||
} else{
|
||||
} else {
|
||||
this.loc = this.loc.setY(Terrain.getWorldHeight(this.getLoc()) + this.getAltitude());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user