Fix static initializer derp.

This commit is contained in:
cpw 2015-04-20 09:26:27 -04:00
parent 0543828603
commit 7bbe8df2b8
1 changed files with 1 additions and 1 deletions

View File

@ -46,6 +46,7 @@ public abstract class FluidRegistry
// the globally unique fluid map - only used to associate non-defaults during world/server loading
static BiMap<String,Fluid> masterFluidReference = HashBiMap.create();
static BiMap<String,String> defaultFluidName = HashBiMap.create();
static Map<Fluid,FluidDelegate> delegates = Maps.newHashMap();
public static final Fluid WATER = new Fluid("water") {
@Override
@ -350,7 +351,6 @@ public abstract class FluidRegistry
}
}
private static Map<Fluid,FluidDelegate> delegates = Maps.newHashMap();
static RegistryDelegate<Fluid> makeDelegate(Fluid fl)
{
return delegates.get(fl);