1.3 hotfix
This commit is contained in:
parent
7e6c889583
commit
97fc283951
@ -44,10 +44,11 @@ public class Load {
|
|||||||
public static void loadReload() {
|
public static void loadReload() {
|
||||||
HandlerList.unregisterAll(chatListener);
|
HandlerList.unregisterAll(chatListener);
|
||||||
HandlerList.unregisterAll(guiListener);
|
HandlerList.unregisterAll(guiListener);
|
||||||
|
boolean newInstall = !new File(Main.getPath(), "config.yml").exists();
|
||||||
FileSelect.config();
|
FileSelect.config();
|
||||||
T2Ctemplate.onLoadSeparateStroke(Util.getPrefix());
|
T2Ctemplate.onLoadSeparateStroke(Util.getPrefix());
|
||||||
FileSelect.language();
|
FileSelect.language();
|
||||||
if (!new File(Main.getPath(), "config.yml").exists()) {
|
if (newInstall) {
|
||||||
try {
|
try {
|
||||||
CreateExampleAliasConfig.configCreate();
|
CreateExampleAliasConfig.configCreate();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user