mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Use a singleton for RenderFluidTask test so mods like ProjectRed can't screw with it. Fixes #5067
This commit is contained in:
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<>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user