diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/wna/WorldNativeAccess.java b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/wna/WorldNativeAccess.java index 9bd7d77a9..4a990b2ef 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/wna/WorldNativeAccess.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/wna/WorldNativeAccess.java @@ -84,7 +84,7 @@ default > boolean setBlock(BlockVector3 position, if (sideEffects.getState(SideEffect.LIGHTING) == SideEffect.State.ON) { updateLightingForBlock(pos); } - markAndNotifyBlock(pos, chunk, lastValue, newState, sideEffects); + markAndNotifyBlock(pos, chunk, old, newState, sideEffects); } return successful;