aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/mixin
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin')
-rw-r--r--src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java b/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java
index a059e8e..51cc52a 100644
--- a/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java
+++ b/src/main/java/makamys/neodymium/mixin/MixinRenderGlobal.java
@@ -39,9 +39,7 @@ abstract class MixinRenderGlobal {
@Inject(method = "loadRenderers", at = @At(value = "HEAD"))
public void preLoadRenderers(CallbackInfo ci) {
- if(Neodymium.isActive()) {
- Neodymium.destroyRenderer();
- }
+ Neodymium.destroyRenderer();
}
@Inject(method = "updateRenderers", at = @At(value = "RETURN"))