diff --git a/src/server/commands/utilities/drain.ts b/src/server/commands/utilities/drain.ts index f522b48de..46e939d66 100644 --- a/src/server/commands/utilities/drain.ts +++ b/src/server/commands/utilities/drain.ts @@ -86,7 +86,7 @@ registerCommand(registerInformation, function* (session, builder, args) { for (const loc of blocks) { const block = dimension.getBlock(loc); if (drainWaterLogged && !block.typeId.match(fluidMatch)) { - block.isWaterlogged = false; + block.setWaterlogged(false); } else { block.setPermutation(air); }