mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
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:
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;
|
||||
|
||||
Reference in new issue
Block a user