mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-08-29 21:30:43 +00:00
delegate constructor
This commit is contained in:
+1
-5
@@ -28,11 +28,7 @@ public class Column<T extends WritableWorld> {
|
|||||||
private final T world;
|
private final T world;
|
||||||
|
|
||||||
public Column(int x, int z, T world) {
|
public Column(int x, int z, T world) {
|
||||||
this.x = x;
|
this(x, z, world, world.getMinHeight(), world.getMaxHeight());
|
||||||
this.z = z;
|
|
||||||
this.world = world;
|
|
||||||
this.max = world.getMaxHeight();
|
|
||||||
this.min = world.getMinHeight();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Column(int x, int z, T world, int min, int max) {
|
public Column(int x, int z, T world, int min, int max) {
|
||||||
|
|||||||
Reference in New Issue
Block a user