mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-01-26 10:01:56 +01:00
Removed unneeded info
This commit is contained in:
parent
57cb442ae3
commit
e1ffac8e3b
@ -7,16 +7,14 @@ import com.sekwah.advancedportals.core.util.InfoLogger;
|
||||
public class AdvancedPortalsCore {
|
||||
|
||||
private static AdvancedPortalsCore instance;
|
||||
private static CoreConnector coreConnector;
|
||||
private static DataStorage dataStorage;
|
||||
private static InfoLogger infoLogger;
|
||||
private static Config config;
|
||||
|
||||
public AdvancedPortalsCore(CoreConnector coreConnector, DataStorage dataStorage, InfoLogger infoLogger) {
|
||||
public AdvancedPortalsCore(DataStorage dataStorage, InfoLogger infoLogger) {
|
||||
this.dataStorage = dataStorage;
|
||||
this.infoLogger = infoLogger;
|
||||
this.instance = this;
|
||||
this.coreConnector = coreConnector;
|
||||
this.onEnable();
|
||||
}
|
||||
|
||||
@ -40,12 +38,4 @@ public class AdvancedPortalsCore {
|
||||
public static InfoLogger getInfoLogger() {
|
||||
return infoLogger;
|
||||
}
|
||||
|
||||
public static CoreConnector getCoreConnector() {
|
||||
return coreConnector;
|
||||
}
|
||||
|
||||
public interface CoreConnector {
|
||||
DataStorage getDataStorage();
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,7 @@ public class DataStorage {
|
||||
private File dataFolder;
|
||||
|
||||
public DataStorage(File dataFolder) {
|
||||
this.dataFolder = dataFolder;
|
||||
gson = new Gson();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user