diff options
Diffstat (limited to 'features/cosmetics/cosmetic/dragon/dragonWings.js')
-rw-r--r-- | features/cosmetics/cosmetic/dragon/dragonWings.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/features/cosmetics/cosmetic/dragon/dragonWings.js b/features/cosmetics/cosmetic/dragon/dragonWings.js index bb3010e..08a45cc 100644 --- a/features/cosmetics/cosmetic/dragon/dragonWings.js +++ b/features/cosmetics/cosmetic/dragon/dragonWings.js @@ -3,7 +3,10 @@ import Cosmetic from "../../cosmetic.js"; const ModelDragon = Java.type("net.minecraft.client.model.ModelDragon") -const GlStateManager = Java.type("net.minecraft.client.renderer.GlStateManager"); +if(!GlStateManager){ + var GL11 = Java.type("org.lwjgl.opengl.GL11"); //using var so it goes to global scope + var GlStateManager = Java.type("net.minecraft.client.renderer.GlStateManager"); +} const Essential = Java.type("gg.essential.Essential") const EssentialCosmeticSlot = Java.type("gg.essential.cosmetics.CosmeticSlot") |