mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-17 02:04:04 +00:00
Fix NPE when //genbiome expression was false.
Fixes WORLDEDIT-3467.
This commit is contained in:
@@ -136,7 +136,7 @@ public abstract class ArbitraryBiomeShape {
|
||||
|
||||
if (!hollow) {
|
||||
final BaseBiome material = getBiome(x, z, baseBiome);
|
||||
if (material != OUTSIDE) {
|
||||
if (material != null && material != OUTSIDE) {
|
||||
editSession.getWorld().setBiome(position, material);
|
||||
++affected;
|
||||
}
|
||||
|
Reference in New Issue
Block a user