* 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
1 changed files with 5 additions and 0 deletions

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);
}
@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() {
return MaskingExtent.class;
}