ElementRenderer fix
This commit is contained in:
+1
-1
Submodule common updated: 2e72fc5d6b...a54aa9eaba
@@ -27,7 +27,6 @@ public class MtlLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Map<String, Mtl> of(Identifier mtlId) {
|
public static Map<String, Mtl> of(Identifier mtlId) {
|
||||||
System.out.println(mtlId);
|
|
||||||
if (loadedMtls.containsKey(mtlId))
|
if (loadedMtls.containsKey(mtlId))
|
||||||
return loadedMtls.get(mtlId);
|
return loadedMtls.get(mtlId);
|
||||||
|
|
||||||
|
|||||||
@@ -18,10 +18,8 @@ import org.saturnclient.modules.ModManager;
|
|||||||
import org.saturnclient.config.Config;
|
import org.saturnclient.config.Config;
|
||||||
import org.saturnclient.config.manager.ConfigManager;
|
import org.saturnclient.config.manager.ConfigManager;
|
||||||
import org.saturnclient.saturnclient.event.KeyInputHandler;
|
import org.saturnclient.saturnclient.event.KeyInputHandler;
|
||||||
import org.saturnclient.ui.ElementRenderer;
|
|
||||||
import org.saturnclient.ui.EntityDrawerImpl;
|
import org.saturnclient.ui.EntityDrawerImpl;
|
||||||
import org.saturnclient.ui.SaturnScreenFabric;
|
import org.saturnclient.ui.SaturnScreenFabric;
|
||||||
import org.saturnclient.ui.components.ElementRendererImpl;
|
|
||||||
import org.saturnclient.ui.components.SkinPreview;
|
import org.saturnclient.ui.components.SkinPreview;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
@@ -43,9 +41,6 @@ public class SaturnClient implements ModInitializer {
|
|||||||
Providers.saturn = new SaturnProviderImpl();
|
Providers.saturn = new SaturnProviderImpl();
|
||||||
Providers.refConstructor = new RefConstructorImpl();
|
Providers.refConstructor = new RefConstructorImpl();
|
||||||
Providers.GLFW = new GLFWProviderImpl();
|
Providers.GLFW = new GLFWProviderImpl();
|
||||||
|
|
||||||
ElementRenderer.INSTANCE = new ElementRendererImpl();
|
|
||||||
|
|
||||||
SkinPreview.DRAWER = new EntityDrawerImpl();
|
SkinPreview.DRAWER = new EntityDrawerImpl();
|
||||||
|
|
||||||
Config.init();
|
Config.init();
|
||||||
|
|||||||
Reference in New Issue
Block a user