mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-01 07:03:52 +01:00
Fixes #381
This commit is contained in:
parent
95715da039
commit
1c30bc6c58
@ -342,6 +342,7 @@ public class Fawe {
|
|||||||
*/
|
*/
|
||||||
try {
|
try {
|
||||||
// Setting up commands.yml
|
// Setting up commands.yml
|
||||||
|
Commands.load(new File(INSTANCE.IMP.getDirectory(), "commands.yml"));
|
||||||
Commands.inject(); // Translations
|
Commands.inject(); // Translations
|
||||||
EditSession.inject(); // Custom block placer + optimizations
|
EditSession.inject(); // Custom block placer + optimizations
|
||||||
EditSessionEvent.inject(); // Add EditSession to event (API)
|
EditSessionEvent.inject(); // Add EditSession to event (API)
|
||||||
@ -462,7 +463,6 @@ public class Fawe {
|
|||||||
debug(" - http://builds.enginehub.org/job/worldedit?branch=master");
|
debug(" - http://builds.enginehub.org/job/worldedit?branch=master");
|
||||||
debug("=======================================");
|
debug("=======================================");
|
||||||
}
|
}
|
||||||
Commands.load(new File(INSTANCE.IMP.getDirectory(), "commands.yml"));
|
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
debug("====== FAWE FAILED TO INITIALIZE ======");
|
debug("====== FAWE FAILED TO INITIALIZE ======");
|
||||||
MainUtil.handleError(e, false);
|
MainUtil.handleError(e, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user