Null saftey (#45)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2024-02-20 18:18:12 +01:00
1 parent 06ec360694
commit 33f240c73a
1 file changed
+2 -2
@@ -348,8 +348,8 @@ public enum TextureType {
@SideOnly(Side.CLIENT)
public static void clearStatics() {
theRenderBlocksCTM.remove();
theRenderBlocksColumn.remove();
if(theRenderBlocksCTM != null) theRenderBlocksCTM.remove();
if(theRenderBlocksColumn != null) theRenderBlocksColumn.remove();
}
public ISubmapManager createManagerFor(ICarvingVariation variation, String texturePath) {