From 2789848b1518ff3e4805bc1d32241ebb34a31ddb Mon Sep 17 00:00:00 2001
From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com>
Date: Sun, 12 Dec 2021 00:48:04 +0800
Subject: Initial gui with main page, credits, and main player lb and guild lb
---
features/soopyGui/GuiPage.js | 2 +-
features/soopyGui/index.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'features/soopyGui')
diff --git a/features/soopyGui/GuiPage.js b/features/soopyGui/GuiPage.js
index 583eab9..1ae10fe 100644
--- a/features/soopyGui/GuiPage.js
+++ b/features/soopyGui/GuiPage.js
@@ -7,7 +7,7 @@ class GuiPage{
this.soopyGui = undefined;
new Thread(()=>{
- while(global.soopyv2featuremanagerthing.features === undefined || global.soopyv2featuremanagerthing.features["soopyGui"] === undefined){
+ while(global.soopyv2featuremanagerthing === undefined || global.soopyv2featuremanagerthing.features === undefined || global.soopyv2featuremanagerthing.features["soopyGui"] === undefined){
Thread.sleep(100)
}
diff --git a/features/soopyGui/index.js b/features/soopyGui/index.js
index 662221d..4917db6 100644
--- a/features/soopyGui/index.js
+++ b/features/soopyGui/index.js
@@ -1,7 +1,6 @@
///
///
import Feature from "../../featureClass/class";
-import * as GuiManager from "../../../guimanager/index.js"
import SoopyGuiElement from "../../../guimanager/GuiElement/SoopyGuiElement";
import SoopyTextElement from "../../../guimanager/GuiElement/SoopyTextElement";
import SoopyBoxElement from "../../../guimanager/GuiElement/SoopyBoxElement";
@@ -9,6 +8,7 @@ import TextWithArrow from "../../../guimanager/GuiElement/TextWithArrow";
import ButtonWithArrow from "../../../guimanager/GuiElement/ButtonWithArrow";
import SoopyMouseClickEvent from "../../../guimanager/EventListener/SoopyMouseClickEvent";
import SoopyOpenGuiEvent from "../../../guimanager/EventListener/SoopyOpenGuiEvent";
+import SoopyGui2 from "../../../guimanager/SoopyGui";
class SoopyGui extends Feature {
@@ -30,7 +30,7 @@ class SoopyGui extends Feature {
}
onEnable(){
- this.gui = new GuiManager.SoopyGui()
+ this.gui = new SoopyGui2()
// this.gui.isDebugEnabled = true
--
cgit