ChangesToPairClass

This commit is contained in:
DarkGuardsman 2013-09-23 13:36:08 -04:00
parent 0f760d5ea1
commit 5b9b36a7dc

View file

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