mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-10 04:38:35 +00:00
Remove nullblock from EditSession
This commit is contained in:
@ -201,7 +201,7 @@ public class HeightMap {
|
||||
// Grow -- start from 1 below top replacing airblocks
|
||||
for (int setY = newBlock - 1, getY = curBlock; setY >= curBlock; --setY, getY--) {
|
||||
BlockStateHolder get = session.getBlock(xr, getY, zr);
|
||||
if (get != EditSession.nullBlock) tmpBlock = get;
|
||||
if (get != BlockTypes.AIR.getDefaultState()) tmpBlock = get;
|
||||
session.setBlock(xr, setY, zr, tmpBlock);
|
||||
++blocksChanged;
|
||||
}
|
||||
|
Reference in New Issue
Block a user