* forgot MaskingExtent

This commit is contained in:
Jesse Boyd 2018-02-10 00:20:34 +11:00
parent 519a95b4b9
commit e09c0c2224
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -79,6 +79,11 @@ public class MaskingExtent extends AbstractDelegateExtent {
return mask.test(mutable.setComponents(position.getBlockX(), 0, position.getBlockZ())) && super.setBiome(position, biome); return mask.test(mutable.setComponents(position.getBlockX(), 0, position.getBlockZ())) && super.setBiome(position, biome);
} }
@Override
public boolean setBiome(int x, int y, int z, BaseBiome biome) {
return mask.test(mutable.setComponents(x, y, z)) && super.setBiome(x, y, z, biome);
}
public static Class<?> inject() { public static Class<?> inject() {
return MaskingExtent.class; return MaskingExtent.class;
} }