Added missing Type

This commit is contained in:
thatsIch 2014-10-05 15:43:52 +02:00
parent 060255e9c7
commit 9717450f13

View file

@ -50,7 +50,7 @@ import appeng.tile.crafting.TileCraftingStorageTile;
import appeng.tile.crafting.TileCraftingTile; import appeng.tile.crafting.TileCraftingTile;
import appeng.util.ItemSorters; import appeng.util.ItemSorters;
public class CraftingGridCache implements ICraftingGrid, ICraftingProviderHelper, ICellProvider, IMEInventoryHandler public class CraftingGridCache implements ICraftingGrid, ICraftingProviderHelper, ICellProvider, IMEInventoryHandler<IAEStack>
{ {
private final Set<CraftingCPUCluster> cpuClusters = new HashSet<CraftingCPUCluster>(); private final Set<CraftingCPUCluster> cpuClusters = new HashSet<CraftingCPUCluster>();
@ -69,7 +69,7 @@ public class CraftingGridCache implements ICraftingGrid, ICraftingProviderHelper
boolean updateList = false; boolean updateList = false;
private final Multimap<IAEStack, CraftingWatcher> interests = HashMultimap.create(); private final Multimap<IAEStack, CraftingWatcher> interests = HashMultimap.create();
final public GenericInterestManager<CraftingWatcher> interestManager = new GenericInterestManager<CraftingWatcher>( interests ); public final GenericInterestManager<CraftingWatcher> interestManager = new GenericInterestManager<CraftingWatcher>( this.interests );
static class ActiveCpuIterator implements Iterator<ICraftingCPU> static class ActiveCpuIterator implements Iterator<ICraftingCPU>
{ {
@ -362,7 +362,7 @@ public class CraftingGridCache implements ICraftingGrid, ICraftingProviderHelper
} }
@Override @Override
public IItemList getAvailableItems(IItemList out) public IItemList<IAEStack> getAvailableItems(IItemList<IAEStack> out)
{ {
// add craftable items! // add craftable items!
for (IAEItemStack st : craftableItems.keySet()) for (IAEItemStack st : craftableItems.keySet())