This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Skym's profile picture

[1.52][Bug?] Vanilla Hopper does not suck from Turtle slot 4

Started by Skym, 16 April 2013 - 02:31 AM
Skym #1
Posted 16 April 2013 - 04:31 AM
ComputerCraft version: 1.52
Minecraft Forge version: 7.7.1.652

Description of Bug:
Vanilla Hopper does not suck an item stack from slot 4 of a turtle inventory.

Steps to Reproduce Bug:
  1. Place a Hopper
  2. Place a Turtle on the hopper
  3. Put an item stack into the slot 4 (upper right) of the turtle inventory

There is a private field in dan200.turtle.shared.TileEntityTurtle:
private static final int[] INVENTORY_SLOTS_MAIN = { 0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
I guess it should be fixed as follows:
private static final int[] INVENTORY_SLOTS_MAIN = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
Cranium #2
Posted 16 April 2013 - 04:35 AM
Moved to Bugs section.
Cloudy #3
Posted 17 April 2013 - 12:09 PM
Approved this, not sure why was unapproved! Fixed for next ver.
Cranium #4
Posted 17 April 2013 - 12:26 PM
Oh, I think I neglected to approve the topic after I moved it. :P/>