Use a singleton for RenderFluidTask test so mods like ProjectRed can't screw with it. Fixes #5067

This commit is contained in:
Thiakil committed 2018-05-31 17:10:44 +08:00
1 parent 39bab1b93c
commit 1d1d9c9573
3 files changed
+4 -5

No files matched your search

@@ -21,6 +21,8 @@ import org.lwjgl.opengl.GL11;
@SideOnly(Side.CLIENT)
public class RenderFluidTank extends TileEntitySpecialRenderer<TileEntityFluidTank>
{
public static final RenderFluidTank INSTANCE = new RenderFluidTank();
private static Map<Fluid, DisplayInteger[]> cachedCenterFluids = new HashMap<>();
private static Map<Fluid, DisplayInteger[]> cachedValveFluids = new HashMap<>();