mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 15:23:06 +00:00
Performance Commit --Too lazy to do the Altar recipe
This commit is contained in:
1 parent
013367cffa
commit
e5b795fddc
217 files changed
+840
-1244
No files matched your search
+3
-4
@@ -17,13 +17,12 @@ public class AlchemicalWizardryFuelHandler implements IFuelHandler
|
||||
@Override
|
||||
public int getBurnTime(ItemStack fuel)
|
||||
{
|
||||
ItemStack itemStack = fuel;
|
||||
if (itemStack == null)
|
||||
if (fuel == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Item fuelItem = itemStack.getItem();
|
||||
Item fuelItem = fuel.getItem();
|
||||
|
||||
if (fuelItem.equals(ModItems.lavaCrystal))
|
||||
{
|
||||
@@ -34,7 +33,7 @@ public class AlchemicalWizardryFuelHandler implements IFuelHandler
|
||||
return 200;
|
||||
} else
|
||||
{
|
||||
NBTTagCompound tag = itemStack.getTagCompound();
|
||||
NBTTagCompound tag = fuel.getTagCompound();
|
||||
|
||||
if (tag == null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user