diff options
-rw-r--r-- | index.js | 8 | ||||
-rw-r--r-- | utils/renderJavaUtils.js | 3 |
2 files changed, 5 insertions, 6 deletions
@@ -1,6 +1,10 @@ /// <reference types="../CTAutocomplete" /> /// <reference lib="es2015" /> +if (net.minecraftforge.fml.common.Loader.isModLoaded("soopyv2forge")) { + Java.type("me.soopyboo32.soopyv2forge.SoopyV2Forge").INSTANCE.soopyIsInstalled() +} + const File = Java.type("java.io.File") class SoopyAddons { constructor() { @@ -42,6 +46,4 @@ if (new File("./config/ChatTriggers/modules/SoopyV2UpdateButtonPatcher").exists( ChatLib.chat("&7Deleting SoopyV2UpdateButtonPatcher as its no longer needed") FileLib.deleteDirectory(new File("./config/ChatTriggers/modules/SoopyV2UpdateButtonPatcher")) }).start() -} - -require("./utils/renderJavaUtils.js")
\ No newline at end of file +}
\ No newline at end of file diff --git a/utils/renderJavaUtils.js b/utils/renderJavaUtils.js index b9a3f83..d3af176 100644 --- a/utils/renderJavaUtils.js +++ b/utils/renderJavaUtils.js @@ -264,9 +264,6 @@ export class HudText extends RenderHudAble { } } -new Box([128, 72, 58], [1, 1, 1], 1, 0, 0, 1, 1, true).startRender() -new FilledBox([128, 72, 58], [1, 1, 1], 1, 0, 0, 0.25, 1, true).startRender() - // let data = [] // data.push(createPoints([[108, 70, 63], [108, 71, 63], [108, 70, 67], [108, 70, 63]], 1, 0, 0, 1, 2, true)) |