mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-23 21:49:58 +00:00
Intellij quick fixes (#234)
This commit is contained in:
1 parent
b5a2693d7c
commit
924b4dbbf2
259 files changed
+662
-717
No files matched your search
@@ -15,7 +15,7 @@ import crazypants.enderio.ModObject;
|
||||
|
||||
public class CompositeInventory implements ISidedInventory {
|
||||
|
||||
private final List<InvEntry> inventories = new ArrayList<InvEntry>();
|
||||
private final List<InvEntry> inventories = new ArrayList<>();
|
||||
private int size = 0;
|
||||
|
||||
public void addInventory(CompositeInventory inv) {
|
||||
@@ -97,7 +97,7 @@ public class CompositeInventory implements ISidedInventory {
|
||||
|
||||
@Override
|
||||
public int[] getAccessibleSlotsFromSide(int var1) {
|
||||
List<Integer> resList = new ArrayList<Integer>();
|
||||
List<Integer> resList = new ArrayList<>();
|
||||
for (InvEntry inv : inventories) {
|
||||
int[] slots = inv.inv.getAccessibleSlotsFromSide(inv.side.ordinal());
|
||||
if (slots != null) {
|
||||
|
||||
Reference in new issue
Block a user