File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2022,16 +2022,22 @@ internal object HighwayTools : PluginModule(
20222022 sendChatMessage(" $chatName Liquid out of reach (${player.distanceTo(neighbourPos)} )" )
20232023 }
20242024 }
2025- return true
2025+ return false
20262026 }
20272027
20282028 foundLiquid = true
20292029
20302030 pendingTasks[neighbourPos]?.let {
20312031 updateLiquidTask(it)
20322032 } ? : run {
2033- // pendingTasks[neighbourPos] = BlockTask(neighbourPos, TaskState.LIQUID, Blocks.AIR)
2034- // pendingTasks[neighbourPos]?.updateLiquid(this)
2033+ // ToDo: Add new liquids without crash
2034+ // val event = this
2035+ // runBlocking {
2036+ // stateUpdateMutex.withLock {
2037+ // pendingTasks[neighbourPos] = BlockTask(neighbourPos, TaskState.LIQUID, Blocks.AIR)
2038+ // pendingTasks[neighbourPos]?.updateLiquid(event)
2039+ // }
2040+ // }
20352041 }
20362042 }
20372043
You can’t perform that action at this time.
0 commit comments