This commit is contained in:
Jesse Boyd 2017-01-03 07:42:28 +11:00
parent 95715da039
commit 1c30bc6c58
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -342,6 +342,7 @@ public class Fawe {
*/
try {
// Setting up commands.yml
Commands.load(new File(INSTANCE.IMP.getDirectory(), "commands.yml"));
Commands.inject(); // Translations
EditSession.inject(); // Custom block placer + optimizations
EditSessionEvent.inject(); // Add EditSession to event (API)
@ -462,7 +463,6 @@ public class Fawe {
debug(" - http://builds.enginehub.org/job/worldedit?branch=master");
debug("=======================================");
}
Commands.load(new File(INSTANCE.IMP.getDirectory(), "commands.yml"));
} catch (Throwable e) {
debug("====== FAWE FAILED TO INITIALIZE ======");
MainUtil.handleError(e, false);