mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
Fix NPE when //genbiome expression was false.
Fixes WORLDEDIT-3467.
This commit is contained in:
@ -2301,7 +2301,7 @@ public class EditSession implements Extent {
|
||||
|
||||
try {
|
||||
if (expression.evaluate(scaled.getX(), scaled.getZ()) <= 0) {
|
||||
return null;
|
||||
return null; // TODO should return OUTSIDE? seems to cause issues otherwise, workedaround for now
|
||||
}
|
||||
|
||||
// TODO: Allow biome setting via a script variable (needs BiomeType<->int mapping)
|
||||
|
Reference in New Issue
Block a user