delegate constructor

This commit is contained in:
dfsek
2022-06-09 13:39:25 -07:00
parent 20c7f2f1fb
commit 6434b6b213

View File

@@ -28,11 +28,7 @@ public class Column<T extends WritableWorld> {
private final T world;
public Column(int x, int z, T world) {
this.x = x;
this.z = z;
this.world = world;
this.max = world.getMaxHeight();
this.min = world.getMinHeight();
this(x, z, world, world.getMinHeight(), world.getMaxHeight());
}
public Column(int x, int z, T world, int min, int max) {