Fix startup error due to wrong names

This commit is contained in:
Esophose 2018-10-01 18:30:46 -06:00
parent 3d47b9faf8
commit 8a73b21431
2 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ public class PlayerParticles extends JavaPlugin {
* Saves the default config if it doesn't exist
* Registers the tab completer and the event listeners
* Checks if the config needs to be updated to the new version
* Makes sure the database is accessable
* Makes sure the database is accessible
* Updates the map and styleMap @see ParticleCreator
* Starts the particle spawning task
* Registers the command executor

View file

@ -184,8 +184,8 @@ public class LangManager {
public static void setup() {
FileConfiguration config = PlayerParticles.getPlugin().getConfig();
messagesEnabled = config.getBoolean("messages-enabled");
prefixEnabled = config.getBoolean("use-prefix");
messagePrefix = parseColors(config.getString("prefix"));
prefixEnabled = config.getBoolean("use-message-prefix");
messagePrefix = parseColors(config.getString("message-prefix"));
YamlConfiguration lang = configureLangFile(config);
if (lang == null) {