From 0dd230b811d8a8873425ea37c6c1330b0053ddac Mon Sep 17 00:00:00 2001 From: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> Date: Sun, 24 Sep 2023 17:43:52 -0400 Subject: [PATCH] fix: yang glyph now replaces original block --- .../gg/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/gg/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt b/src/main/kotlin/gg/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt index 433c83059..cdee7d4c9 100644 --- a/src/main/kotlin/gg/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt +++ b/src/main/kotlin/gg/skytils/skytilsmod/features/impl/misc/SlayerFeatures.kt @@ -1183,7 +1183,7 @@ object SlayerFeatures : CoroutineScope { } override fun blockChange(event: BlockChangeEvent) { - if (event.pos == thrownLocation && event.old.block is BlockBeacon && event.update.block is BlockAir) { + if (event.pos == thrownLocation && event.old.block is BlockBeacon && event.update.block !is BlockBeacon) { thrownLocation = null thrownEntity = null return