Computercraft turtles can't fell trees
Jummit opened this issue · 7 comments
Simple issue: When a turtle performs a turtle.dig() on a dynamic trees trunk only the block the turtle targets gets destroyed, but the tree still stands. I am using CC-tweaked (from SquidDev), a maintained fork of CC.
This works now but it does not work for thick trees. Use turtle.suck() twice after turtle.dig() to obtain the dropped log and stick items.
This might be because the code is casting something to a player-related class, or using player-related events. Another cause could be if they use the World
class to break blocks instead of using a player.
So here's the problem:
Even though it makes a fakePlayer it's not used to destroy the block.
The use fake players so permissions work. I was wondering too, why that doesn't work.