Fix compile

This commit is contained in:
Jesse Boyd
2019-12-19 16:19:46 +00:00
parent aac30742de
commit 6a49b71cf2
48 changed files with 2649 additions and 85 deletions

View File

@ -101,14 +101,14 @@ public abstract class FaweRegionExtent extends ResettableExtent implements IBatc
}
@Override
public BiomeType getBiomeType(int x, int z) {
public BiomeType getBiomeType(int x, int y, int z) {
if (!contains(x, z)) {
if (!limit.MAX_FAILS()) {
WEManager.IMP.cancelEditSafe(this, FaweCache.OUTSIDE_REGION);
}
return null;
}
return super.getBiomeType(x, z);
return super.getBiomeType(x, y, z);
}
@Override

View File

@ -68,7 +68,7 @@ public class NullExtent extends FaweRegionExtent implements IBatchProcessor {
}
@Override
public BiomeType getBiomeType(int x, int z) {
public BiomeType getBiomeType(int x, int y, int z) {
throw reason;
}

View File

@ -87,9 +87,9 @@ public class TransformExtent extends BlockTransformExtent {
}
@Override
public BiomeType getBiomeType(int x, int z) {
BlockVector3 p = getPos(x, 0, z);
return super.getBiomeType(p.getX(), p.getZ());
public BiomeType getBiomeType(int x, int y, int z) {
BlockVector3 p = getPos(x, y, z);
return super.getBiomeType(p.getX(), y, p.getZ());
}
@Override