diff --git a/src/com/esophose/playerparticles/PlayerParticles.java b/src/com/esophose/playerparticles/PlayerParticles.java index ba56b34..305b574 100644 --- a/src/com/esophose/playerparticles/PlayerParticles.java +++ b/src/com/esophose/playerparticles/PlayerParticles.java @@ -66,9 +66,6 @@ public class PlayerParticles extends JavaPlugin { */ public void onEnable() { pluginInstance = Bukkit.getServer().getPluginManager().getPlugin("PlayerParticles"); - - DefaultStyles.registerStyles(); - LangManager.setup(); getCommand("pp").setTabCompleter(new ParticleCommandHandler()); getCommand("pp").setExecutor(new ParticleCommandHandler()); @@ -89,6 +86,9 @@ public class PlayerParticles extends JavaPlugin { getLogger().warning("The config.yml has been updated to v" + getDescription().getVersion() + "!"); } + DefaultStyles.registerStyles(); + LangManager.setup(); + configureDatabase(getConfig().getBoolean("database-enable")); startParticleTask();