Advanced Peripherals

Advanced Peripherals

30M Downloads

[0.8] digBlock() on the Weak Automata tries to dig the turtle itself

Closed this issue ยท 5 comments

commented

Describe

Expected Behavior: The automata tries to dig the block in front of the turtle (or applied at some pitch/yaw offset)

Current Behavior: The automata tries to dig the turtle.

Steps to reproduce

local a = peripheral.wrap("right") -- with the automata in the right slot of the turtle
a.digBlock() -- digs the turtle instead of the block in front

Multiplayer?

No

Version

Own compiled build.

Minecraft, Forge and maybe other related mods versions

Minecraft 1.19.2, identical to the env in dev/0.8

Screenshots or Videos

No response

Crashlog/log

No response

commented

@scmcgowen are you sure you are using the latest version? I'm not able to reproduce this. can you provide a screenrecording of the reproduce and the commit hash you are building?

commented

Ah I see, if I let the turtle dig pitch=90, it will mine itself

commented

It might be directional, since it triggered without setting pitch or yaw for me as I was trying to test its range
Also I'm more likely to respond faster with a ping on Discord as GitHub's email doesn't always notify me

commented

@scmcgowen k it's fixed, again ...

You can download the build at here
#695 (comment)

commented

For my testing I've been directly compiling from the dev/0.8 source so I should be able to pull that patch and test tomorrow