Make Hopperhocks check all 6 sides for chests

Make Hopperhocks check all 6 sides for output chests, rather than just the 4 cardinal directions. This is useful for floating hopperhocks.
This commit is contained in:
iambob314 committed 2015-08-17 17:29:45 -04:00
1 parent d10a6ae08c
commit bb7169e16a
1 file changed
+1 -1
@@ -74,7 +74,7 @@ public class SubTileHopperhock extends SubTileFunctional {
ForgeDirection sideToPutItemIn = ForgeDirection.UNKNOWN;
boolean priorityInv = false;
for(ForgeDirection dir : LibMisc.CARDINAL_DIRECTIONS) {
for(ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS) {
int x_ = x + dir.offsetX;
int y_ = y + dir.offsetY;
int z_ = z + dir.offsetZ;