name
This commit is contained in:
1 parent
400ed75b31
commit
0d71d9c0a1
1 file changed
+1
-1
@@ -110,7 +110,7 @@ public class FixedCommandSource extends ServerCommandSource
|
|||||||
public ServerCommandSource withWorld(ServerWorld world)
|
public ServerCommandSource withWorld(ServerWorld world)
|
||||||
{
|
{
|
||||||
this.world = world;
|
this.world = world;
|
||||||
double d = DimensionType.method_31109(this.world.getDimension(), world.getDimension());
|
double d = DimensionType.getCoordinateScaleFactor(this.world.getDimension(), world.getDimension());
|
||||||
this.position = new Vec3d(this.position.x * d, this.position.y, this.position.z * d);
|
this.position = new Vec3d(this.position.x * d, this.position.y, this.position.z * d);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user