mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Make wrappediinventory a bit more subclass friendly
This commit is contained in:
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--) {
|
||||
|
||||
Reference in new issue
Block a user