CC: Tweaked

CC: Tweaked

57M Downloads

damage information on shears?

Minecraft2p0 opened this issue ยท 2 comments

commented

I am very happy that I can use my sheep farm again thanks to the update. Unfortunately, the damage info is not integrated in turtle.getItemDetail (). Does it work any differently or is it yet to come?
So far it worked with data.damage ()

Translated with Google

commented

turtle.getItemDetail changed slightly in 1.15 to make it a bit more thread-safe.

I've added a section to the breaking changes page, but basically you need to call turtle.getItemDetail with true as the second argument. This includes much more information (including damage), but takes a tick to execute.

TLDR: Replace turtle.getItemDetail() with turtle.getItemDetail(nil, true).

commented

It works. Great. Thank you