Cleanup, fixed a transporter bug

This commit is contained in:
Aidan C. Brady committed 2015-03-24 18:33:13 -04:00
1 parent 6c70dc100b
commit 0e51852baa
7 files changed
+5 -7

No files matched your search

@@ -147,10 +147,12 @@ public abstract class TileEntityChanceMachine<RECIPE extends ChanceMachineRecipe
public RECIPE getRecipe()
{
ItemStackInput input = getInput();
if(cachedRecipe == null || !input.testEquality(cachedRecipe.getInput()))
{
cachedRecipe = RecipeHandler.getChanceRecipe(input, getRecipes());
}
return cachedRecipe;
}