Wake up the FluidRegistry before any mods start loading. Should stop mods claiming to own water or lava (depending on who accessed

FluidRegistry first)
This commit is contained in:
cpw 2015-07-09 16:53:31 -04:00
parent 50677ad87a
commit 8636eb1883

View file

@ -12,6 +12,7 @@ import cpw.mods.fml.relauncher.Side;
import net.minecraft.crash.CrashReport; import net.minecraft.crash.CrashReport;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraftforge.common.ForgeHooks.SeedEntry; import net.minecraftforge.common.ForgeHooks.SeedEntry;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.oredict.OreDictionary; import net.minecraftforge.oredict.OreDictionary;
public class MinecraftForge public class MinecraftForge
@ -156,6 +157,8 @@ public class MinecraftForge
} }
UsernameCache.load(); UsernameCache.load();
// Load before all the mods, so MC owns the MC fluids
FluidRegistry.validateFluidRegistry();
} }