From 421f80c9a197593fc35136820fa5067de8db86e0 Mon Sep 17 00:00:00 2001 From: xtex Date: Sun, 30 Jul 2023 10:37:44 +0800 Subject: [PATCH] style: format code --- .../src/main/kotlin/quaedam/projection/music/SmartInstrument.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/quaedam/projection/music/SmartInstrument.kt b/common/src/main/kotlin/quaedam/projection/music/SmartInstrument.kt index d4aa638..3e38034 100644 --- a/common/src/main/kotlin/quaedam/projection/music/SmartInstrument.kt +++ b/common/src/main/kotlin/quaedam/projection/music/SmartInstrument.kt @@ -212,7 +212,7 @@ class SmartInstrumentBlockEntity(pos: BlockPos, state: BlockState) : if (checkProjections()) { player!!.tick() if (!level!!.isClientSide) { - if (player!!.isEnd == true) { + if (player!!.isEnd) { player = null setChanged() sendBlockUpdated()