mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-08-30 05:40:34 +00:00
remove column check
This commit is contained in:
@@ -52,9 +52,6 @@ public class Column<T extends WritableWorld> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public BlockState getBlock(int y) {
|
public BlockState getBlock(int y) {
|
||||||
if(y >= max || y < min) {
|
|
||||||
throw new IllegalArgumentException("Y " + y + " out of range [" + min + ", " + max + ")");
|
|
||||||
}
|
|
||||||
return world.getBlockState(x, y, z);
|
return world.getBlockState(x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user