Make wrappediinventory a bit more subclass friendly

This commit is contained in:
quat committed 2018-08-03 12:58:00 -04:00
1 parent 61e72f3cc3
commit fae9bcca75
1 file changed
+2 -2
@@ -20,7 +20,7 @@ import java.util.List;
public class WrappedIInventory extends WrappedInventoryBase {
private final InvWithLocation inv;
protected final InvWithLocation inv;
protected WrappedIInventory(InvWithLocation inv, ICorporeaSpark spark) {
super(spark);
@@ -42,7 +42,7 @@ public class WrappedIInventory extends WrappedInventoryBase {
return iterateOverSlots(request, true);
}
private List<ItemStack> iterateOverSlots(CorporeaRequest request, boolean doit) {
protected List<ItemStack> iterateOverSlots(CorporeaRequest request, boolean doit) {
List<ItemStack> stacks = new ArrayList<ItemStack>();
for (int i = inv.handler.getSlots() - 1; i >= 0; i--) {