ChangesToPairClass
This commit is contained in:
parent
0f760d5ea1
commit
5b9b36a7dc
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ public class DecayMatterList
|
|||
{
|
||||
if (stack != null && compostList.containsKey(new Pair<Integer, Integer>(stack.itemID, stack.getItemDamage())))
|
||||
{
|
||||
return compostList.get(new Pair<Integer, Integer>(stack.itemID, stack.getItemDamage())).getValue();
|
||||
return compostList.get(new Pair<Integer, Integer>(stack.itemID, stack.getItemDamage())).right();
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ public class DecayMatterList
|
|||
{
|
||||
if (stack != null && compostList.containsKey(new Pair<Integer, Integer>(stack.itemID, stack.getItemDamage())))
|
||||
{
|
||||
return compostList.get(new Pair<Integer, Integer>(stack.itemID, stack.getItemDamage())).getKey();
|
||||
return compostList.get(new Pair<Integer, Integer>(stack.itemID, stack.getItemDamage())).left();
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue