mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Merge branch '1.7.10'
This commit is contained in:
commit
5045d8df68
5 files changed
+8
-5
No files matched your search
@@ -12,6 +12,7 @@ import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraft.crash.CrashReport;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.common.ForgeHooks.SeedEntry;
|
||||
import net.minecraftforge.fluids.FluidRegistry;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
public class MinecraftForge
|
||||
@@ -162,6 +163,8 @@ public class MinecraftForge
|
||||
}
|
||||
|
||||
UsernameCache.load();
|
||||
// Load before all the mods, so MC owns the MC fluids
|
||||
FluidRegistry.validateFluidRegistry();
|
||||
}
|
||||
|
||||
public static String getBrandingVersion()
|
||||
|
||||
@@ -114,7 +114,7 @@ public abstract class FluidRegistry
|
||||
Integer id = localFluidIDs.remove(oldFluid);
|
||||
localFluidIDs.put(fluid, id);
|
||||
}
|
||||
BiMap<Integer, String> localFluidNames = fluidNames;
|
||||
BiMap<Integer, String> localFluidNames = HashBiMap.create();
|
||||
for (Entry<Fluid, Integer> e : localFluidIDs.entrySet()) {
|
||||
localFluidNames.put(e.getValue(), e.getKey().getName());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user