mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
FurnaceRecipes.smelting()->.instance()
Integration fixed
This commit is contained in:
1 parent
dedc84605f
commit
4aeadf966f
8 files changed
+21
-19
No files matched your search
@@ -330,7 +330,7 @@ public class EntityRobit extends EntityCreature implements IInventory, ISustaine
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
ItemStack itemstack = FurnaceRecipes.smelting().getSmeltingResult(inventory[28]);
|
||||
ItemStack itemstack = FurnaceRecipes.instance().getSmeltingResult(inventory[28]);
|
||||
if(itemstack == null) return false;
|
||||
if(inventory[30] == null) return true;
|
||||
if(!inventory[30].isItemEqual(itemstack)) return false;
|
||||
@@ -343,7 +343,7 @@ public class EntityRobit extends EntityCreature implements IInventory, ISustaine
|
||||
{
|
||||
if(canSmelt())
|
||||
{
|
||||
ItemStack itemstack = FurnaceRecipes.smelting().getSmeltingResult(inventory[28]);
|
||||
ItemStack itemstack = FurnaceRecipes.instance().getSmeltingResult(inventory[28]);
|
||||
|
||||
if(inventory[30] == null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user