diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-01-27 11:32:28 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-01-27 11:32:28 +0300 |
| commit | 2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 (patch) | |
| tree | e8cd0022f3a30a5c952092e0ea4c7ffdafcdf7bb /ihl/processing/invslots/IHLInvSlotOutput.java | |
| parent | ffe23313fb7421b0a1849b420baf708999023f7b (diff) | |
License, readme and stuff
Diffstat (limited to 'ihl/processing/invslots/IHLInvSlotOutput.java')
| -rw-r--r-- | ihl/processing/invslots/IHLInvSlotOutput.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ihl/processing/invslots/IHLInvSlotOutput.java b/ihl/processing/invslots/IHLInvSlotOutput.java index 94bf3c8..7e10ab3 100644 --- a/ihl/processing/invslots/IHLInvSlotOutput.java +++ b/ihl/processing/invslots/IHLInvSlotOutput.java @@ -18,11 +18,12 @@ import ihl.utils.IHLUtils; public class IHLInvSlotOutput extends InvSlotOutput{
- private final Map<Long,Float> substanceAmount = new HashMap();
+ private final Map<Long,Float> substanceAmount = new HashMap<Long,Float>();
public IHLInvSlotOutput(TileEntityInventory base1, String name1, int oldStartIndex1, int count) {
super(base1, name1, oldStartIndex1, count);
}
+ @SuppressWarnings("rawtypes")
@Override
public boolean canAdd(List itemOutputs)
{
@@ -82,7 +83,6 @@ public class IHLInvSlotOutput extends InvSlotOutput{ public boolean objectMatchesSlot(Object obj, int slot)
{
- boolean matches=true;
if(this.get(slot)==null)
{
return true;
@@ -131,6 +131,7 @@ public class IHLInvSlotOutput extends InvSlotOutput{ }
@Override
+ @SuppressWarnings("rawtypes")
public int add(List itemOutputs)
{
if(itemOutputs==null || itemOutputs.isEmpty())
@@ -196,7 +197,6 @@ public class IHLInvSlotOutput extends InvSlotOutput{ {
super.writeToNbt(nbtTagCompound);
NBTTagList sAmountsList = new NBTTagList();
- int i = 0;
Iterator<Entry<Long, Float>> entrySetIterator = this.substanceAmount.entrySet().iterator();
while(entrySetIterator.hasNext())
{
|
