diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-23 23:57:05 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-23 23:57:05 +0800 |
commit | c2536f244242d3df564fe6bf08504f3c2b6a4f7f (patch) | |
tree | ba82cf0fde4c92a107fe44081ea0f13237076d52 /utils/renderUtils.js | |
parent | efe032c4c655d38c659b605c6bcab0a03ab14075 (diff) | |
download | SoopyV2-c2536f244242d3df564fe6bf08504f3c2b6a4f7f.tar.gz SoopyV2-c2536f244242d3df564fe6bf08504f3c2b6a4f7f.tar.bz2 SoopyV2-c2536f244242d3df564fe6bf08504f3c2b6a4f7f.zip |
support both chattriggers 2 and 1
Diffstat (limited to 'utils/renderUtils.js')
-rw-r--r-- | utils/renderUtils.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/renderUtils.js b/utils/renderUtils.js index db1df8d..1491756 100644 --- a/utils/renderUtils.js +++ b/utils/renderUtils.js @@ -1,5 +1,9 @@ const { f, m } = require("../../mappings/mappings"); +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"); +} module.exports = { /* accepts parameters |