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