From d54f4348054e02f767c6a703369ae59c99fa8cf5 Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Sat, 8 Jan 2022 02:23:14 -0500 Subject: [PATCH] Gjallarhorn: Changelog state tracker should use global air block. --- .../kubelet/foundation/gjallarhorn/state/BlockLogTracker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool-gjallarhorn/src/main/kotlin/cloud/kubelet/foundation/gjallarhorn/state/BlockLogTracker.kt b/tool-gjallarhorn/src/main/kotlin/cloud/kubelet/foundation/gjallarhorn/state/BlockLogTracker.kt index af39f2e..009ff5f 100644 --- a/tool-gjallarhorn/src/main/kotlin/cloud/kubelet/foundation/gjallarhorn/state/BlockLogTracker.kt +++ b/tool-gjallarhorn/src/main/kotlin/cloud/kubelet/foundation/gjallarhorn/state/BlockLogTracker.kt @@ -11,7 +11,7 @@ class BlockLogTracker(private val mode: BlockTrackMode = BlockTrackMode.RemoveOn fun delete(position: BlockCoordinate) { if (mode == BlockTrackMode.AirOnDelete) { - blocks[position] = BlockState("minecraft:air") + blocks[position] = BlockState.AirBlock } else { blocks.remove(position) }