Skip to content

Commit e1ef26f

Browse files
author
TheProgramSrc
committed
Fixed BungeePlugin initializing Base without Arguments and Moved Base Class to xyz.theprogramsrc.supercoreapi.Base
1 parent b1492e6 commit e1ef26f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/main/java/xyz/theprogramsrc/Base.java renamed to src/main/java/xyz/theprogramsrc/supercoreapi/Base.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
package xyz.theprogramsrc;
1+
package xyz.theprogramsrc.supercoreapi;
22

33

4-
import xyz.theprogramsrc.supercoreapi.SuperPlugin;
54
import xyz.theprogramsrc.supercoreapi.global.updater.SpigotUpdateChecker;
65

76
/**

src/main/java/xyz/theprogramsrc/supercoreapi/bungee/BungeePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void onLoad() {
4444
long start = System.currentTimeMillis();
4545
i = this;
4646
this.emergencyStop = false;
47-
new xyz.theprogramsrc.Base();
47+
new xyz.theprogramsrc.supercoreapi.Base(this);
4848
this.log("Loading plugin &3v"+this.getPluginVersion());
4949
this.disableHooks = new ArrayList<>();
5050
this.firstStart = !this.getDataFolder().exists();

src/main/java/xyz/theprogramsrc/supercoreapi/spigot/SpigotPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void onLoad() {
5555
long current = System.currentTimeMillis();
5656
i = this;
5757
this.emergencyStop = false;
58-
new xyz.theprogramsrc.Base(this);
58+
new xyz.theprogramsrc.supercoreapi.Base(this);
5959
this.disableHooks = new ArrayList<>();
6060
this.serverFolder = Utils.folder(new File("."));
6161
this.firstStart = !this.getDataFolder().exists();

0 commit comments

Comments
 (0)