From 1c7138bb58dc37e8dc32d2b06007f74efc86ac3a Mon Sep 17 00:00:00 2001 From: moonleay Date: Sun, 28 Apr 2024 16:11:48 +0200 Subject: [PATCH] feat!: added No Updates to incompatibleModifier list of replace mode Signed-off-by: moonleay --- src/main/java/net/moonleay/gimble/editor/state/mode/Mode.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/moonleay/gimble/editor/state/mode/Mode.kt b/src/main/java/net/moonleay/gimble/editor/state/mode/Mode.kt index ca9a72b..1962107 100644 --- a/src/main/java/net/moonleay/gimble/editor/state/mode/Mode.kt +++ b/src/main/java/net/moonleay/gimble/editor/state/mode/Mode.kt @@ -22,6 +22,6 @@ enum class Mode(val displayName: String, val color: Int, val incompatibleModifie UNKNOWN("UNKNOWN", 0x000000, listOf()), // Unknown mode. This mode cannot be entered NORMAL("NORMAL", 0x90a959, listOf(ModeModifier.NO_UPDATES, ModeModifier.BULLDOZER, ModeModifier.FORCE_PLACE)), // Do nothing INSERT("INSERT", 0xf4bf75, listOf()), // Place and break blocks - REPLACE("REPLACE", 0xac4242, listOf()), // Replace blocks + REPLACE("REPLACE", 0xac4242, listOf(ModeModifier.NO_UPDATES)), // Replace blocks VISUAL("VISUAL", 0x6a9fb5, listOf(ModeModifier.BULLDOZER)), // Do fancy stuff with WE }