diff --git a/buildcraft_resources/changelog/7.0.12 b/buildcraft_resources/changelog/7.0.12 index 0d53a1ce..3451aafd 100644 --- a/buildcraft_resources/changelog/7.0.12 +++ b/buildcraft_resources/changelog/7.0.12 @@ -7,6 +7,7 @@ Additions: Improvements: * Rendering helmet overlays on robots is now supported (hea3ven) +* The Accept Items action now supports Lists (asie) * The builder robot will not pick up materials in creative worlds (hea3ven) Bugs fixed: diff --git a/common/buildcraft/robotics/ai/AIRobotUnload.java b/common/buildcraft/robotics/ai/AIRobotUnload.java index a1ad6ea1..a8c9ae70 100755 --- a/common/buildcraft/robotics/ai/AIRobotUnload.java +++ b/common/buildcraft/robotics/ai/AIRobotUnload.java @@ -17,7 +17,7 @@ import buildcraft.api.robots.DockingStation; import buildcraft.api.robots.EntityRobotBase; import buildcraft.api.transport.IInjectable; import buildcraft.core.lib.inventory.InventoryIterator; -import buildcraft.core.lib.inventory.filters.ArrayStackFilter; +import buildcraft.core.lib.inventory.filters.ArrayStackOrListFilter; import buildcraft.robotics.statements.ActionRobotFilter; import buildcraft.robotics.statements.ActionStationInputItems; @@ -64,7 +64,7 @@ public class AIRobotUnload extends AIRobot { } if (!ActionRobotFilter - .canInteractWithItem(station, new ArrayStackFilter(robotSlot.getStackInSlot()), + .canInteractWithItem(station, new ArrayStackOrListFilter(robotSlot.getStackInSlot()), ActionStationInputItems.class)) { return false; }