Actually rebuild the fluidNames each rebuild, don't just try and force changes in. Should fix #1973

This commit is contained in:
cpw 2015-07-09 16:40:51 -04:00
parent 204cb16bc4
commit 50677ad87a
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}