mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Cleanup, fixed a transporter bug
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user