CC: Tweaked

CC: Tweaked

42M Downloads

turtle.compareTo always returns true

neumond opened this issue ยท 2 comments

commented

Useful information to include:

  • Minecraft version: 1.15.2
  • CC: Tweaked version: 1.89.2

With any slot index, any block (or lack of) in front of turtle, any inventory content, always returns true.
compare, compareUp, compareDown seem to be working correctly.

commented

Compare the current selected slot and the given slot to see if the items are the same. Returns true if they are the same, false if not.

My bad.

commented

turtle.compareTo operates on two different inventory stacks, IIRC? It compares the currently selected slot to the one given as an argument. It shouldn't depend on blocks in front at all.