lambda-plugins / HighwayTools

Advanced highway building bot
58 stars 13 forks source link

Possible wrong update state used - liquid_flow vs liquid_source #9

Closed graemeg closed 3 years ago

graemeg commented 3 years ago

https://github.com/lambda-plugins/HighwayTools/blob/ae84389ddaf8ff797a7642c8977149049c7ce53d/src/main/kotlin/HighwayTools.kt#L1990

Shouldn't the else block read:

it.updateState(TaskState.LIQUID_SOURCE)
Avanatiker commented 3 years ago

Thanks for the comment didnt see it. I found it myself when refactor to trombone :)