aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-23 23:57:05 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-23 23:57:05 +0800
commitc2536f244242d3df564fe6bf08504f3c2b6a4f7f (patch)
treeba82cf0fde4c92a107fe44081ea0f13237076d52 /features
parentefe032c4c655d38c659b605c6bcab0a03ab14075 (diff)
downloadSoopyV2-c2536f244242d3df564fe6bf08504f3c2b6a4f7f.tar.gz
SoopyV2-c2536f244242d3df564fe6bf08504f3c2b6a4f7f.tar.bz2
SoopyV2-c2536f244242d3df564fe6bf08504f3c2b6a4f7f.zip
support both chattriggers 2 and 1
Diffstat (limited to 'features')
-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")