mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-07 08:16:05 +00:00
simplify ChunkRegionMixin height accessors
This commit is contained in:
@@ -109,7 +109,7 @@ public abstract class ChunkRegionMixin {
|
||||
}
|
||||
|
||||
public int terraWorld$getMaxHeight() {
|
||||
return (((ChunkRegion) (Object) this).getBottomY()) + ((ChunkRegion) (Object) this).getHeight();
|
||||
return world.getTopY();
|
||||
}
|
||||
|
||||
@Intrinsic(displace = true)
|
||||
@@ -123,7 +123,7 @@ public abstract class ChunkRegionMixin {
|
||||
}
|
||||
|
||||
public int terraWorld$getMinHeight() {
|
||||
return ((ChunkRegion) (Object) this).getBottomY();
|
||||
return world.getBottomY();
|
||||
}
|
||||
|
||||
public ChunkGenerator terraWorld$getGenerator() {
|
||||
|
||||
Reference in New Issue
Block a user