Init ld
This commit is contained in:
parent
7fcd90a338
commit
487ec6095d
@ -30,6 +30,8 @@ public class LibsDisguises extends JavaPlugin {
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
instance = this;
|
||||
|
||||
if (Bukkit.getServer().getWorlds().isEmpty()) {
|
||||
WatcherSanitizer.init();
|
||||
return;
|
||||
@ -48,8 +50,6 @@ public class LibsDisguises extends JavaPlugin {
|
||||
"reloads gracefully!");
|
||||
}
|
||||
|
||||
instance = this;
|
||||
|
||||
if (!new File(getDataFolder(), "disguises.yml").exists()) {
|
||||
saveResource("disguises.yml", false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user