SirEdvin / Turtlematic

ComputerCraft addon that makes turtle great again!
MIT License
11 stars 2 forks source link

End automata cannot capture blocks #3

Closed Totto8492 closed 1 year ago

Totto8492 commented 1 year ago

capture("block") always says "Block is in blacklist". I think, the conditions seem to be inverted.

https://github.com/SirEdvin/Turtlematic/blob/77aa0bf9acb4300972da88cb1b2406f719492adb/src/main/kotlin/site/siredvin/turtlematic/computercraft/plugins/AutomataCapturePlugin.kt#L116

Minecraft 1.19.2 (Quilt) Turtlematic 0.5.1

SirEdvin commented 1 year ago

Oh, this my less favourite type of bugs, that reminds be that I desperately need a testing system. Thanks, I will try to fix it shortly and post a new release

On 28 Dec 2022, at 10:09, Totto8492 @.***> wrote:

capture("block") always says "Block is in blacklist". I think, the conditions seem to be inverted.

https://github.com/SirEdvin/Turtlematic/blob/77aa0bf9acb4300972da88cb1b2406f719492adb/src/main/kotlin/site/siredvin/turtlematic/computercraft/plugins/AutomataCapturePlugin.kt#L116

Minecraft 1.19.2 (Quilt) Turtlematic 0.5.1

— Reply to this email directly, view it on GitHub https://github.com/SirEdvin/Turtlematic/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4KQ73DFA5CYY4RIE6PYGTWPPYSTANCNFSM6AAAAAATLBPP64. You are receiving this because you are subscribed to this thread.

SirEdvin commented 1 year ago

And ... done. Fixed in 0.5.2 release

Totto8492 commented 1 year ago

Thanks!