From 92b359cbee7aeca68bf4fa2a1c9530e777f6ed11 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Fri, 17 Jun 2016 16:55:21 +1000 Subject: ~Changed the way compatability is handled. ~Recipe Handler now works in two segments, loading recipes as normal during Init and then from a queue during postInit. ~Queue should be populated throughout the mods init/preInit phases, so that they're not removed during recipe removal. ~Made more changes to the NFHG, not sure if I broke it more or not.. but it works, kinda. --- src/Java/miscutil/core/item/general/fuelrods/FuelRod_Base.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Java/miscutil/core/item') diff --git a/src/Java/miscutil/core/item/general/fuelrods/FuelRod_Base.java b/src/Java/miscutil/core/item/general/fuelrods/FuelRod_Base.java index 9a3de2c08f..56fe598a3b 100644 --- a/src/Java/miscutil/core/item/general/fuelrods/FuelRod_Base.java +++ b/src/Java/miscutil/core/item/general/fuelrods/FuelRod_Base.java @@ -196,9 +196,11 @@ public class FuelRod_Base extends Item{ itemStack.stackTagCompound.setInteger("fuelRemaining", fuelRemaining); itemStack.stackTagCompound.setInteger("maximumFuel", maximumFuel); itemStack.stackTagCompound.setFloat("heat", heat); - itemStack.stackTagCompound.setFloat("maxHeat", maxHeat); + itemStack.stackTagCompound.setFloat("maxHeat", getMaxHeat()); itemStack.stackTagCompound.setString("fuelType", fuelType); } + + } -- cgit