mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 21:09:45 +00:00
Polished off the upgrade system - now works consistently and properly for all Mekanism machines. Also, fixed a flamethrower bug
This commit is contained in:
1 parent
c7e199b06c
commit
74ba02e0bb
6 files changed
+94
-26
No files matched your search
@@ -223,6 +223,13 @@ public class EntityFlame extends Entity implements IEntityAdditionalSpawnData
|
||||
|
||||
private boolean smeltBlock(Coord4D block)
|
||||
{
|
||||
ItemStack stack = block.getStack(worldObj);
|
||||
|
||||
if(stack == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
ItemStack result = FurnaceRecipes.smelting().getSmeltingResult(block.getStack(worldObj));
|
||||
|
||||
if(result != null)
|
||||
|
||||
Reference in new issue
Block a user