mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-30 12:51:17 +08:00
Fix compile error in Transforms caused by merge.
This commit is contained in:
parent
83e141bfb0
commit
9e8b2d1875
@ -43,7 +43,7 @@ private Transforms() {
|
||||
public static Location transform(Location location, Transform transform) {
|
||||
checkNotNull(location);
|
||||
checkNotNull(transform);
|
||||
return new Location(location.getWorld(), transform.apply(location.toVector()), location.getDirection());
|
||||
return new Location(location.getExtent(), transform.apply(location.toVector()), location.getDirection());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user