mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Actually rebuild the fluidNames each rebuild, don't just try and force changes in. Should fix #1973
This commit is contained in:
1 parent
204cb16bc4
commit
50677ad87a
1 file changed
+1
-1
@@ -112,7 +112,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