aboutsummaryrefslogtreecommitdiff
path: root/features/cosmetics/cosmetic
diff options
context:
space:
mode:
Diffstat (limited to 'features/cosmetics/cosmetic')
-rw-r--r--features/cosmetics/cosmetic/dragon/dragonWings.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/features/cosmetics/cosmetic/dragon/dragonWings.js b/features/cosmetics/cosmetic/dragon/dragonWings.js
index a5aeb68..08a45cc 100644
--- a/features/cosmetics/cosmetic/dragon/dragonWings.js
+++ b/features/cosmetics/cosmetic/dragon/dragonWings.js
@@ -3,6 +3,10 @@ import Cosmetic from "../../cosmetic.js";
const ModelDragon = Java.type("net.minecraft.client.model.ModelDragon")
+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")