change var name
This commit is contained in:
@@ -3,5 +3,5 @@ package storagecraft.storage;
|
||||
import java.util.List;
|
||||
|
||||
public interface IStorageProvider {
|
||||
public void addStorages(List<IStorage> providers);
|
||||
public void addStorages(List<IStorage> storages);
|
||||
}
|
||||
|
@@ -94,10 +94,10 @@ public class TileDrive extends TileMachine implements IInventory, IStorageProvid
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addStorages(List<IStorage> providers) {
|
||||
public void addStorages(List<IStorage> storages) {
|
||||
for (int i = 0; i < getSizeInventory(); ++i) {
|
||||
if (getStackInSlot(i) != null) {
|
||||
providers.add(new CellStorage(getStackInSlot(i)));
|
||||
storages.add(new CellStorage(getStackInSlot(i)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user