change var name

This commit is contained in:
Raoul Van den Berge
2015-12-13 21:34:56 +01:00
parent 3e021cdf46
commit 04cbbb105f
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}

View File

@@ -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)));
}
}
}