mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-02-20 15:04:31 +00:00
Fix startup error due to wrong names
This commit is contained in:
parent
3d47b9faf8
commit
8a73b21431
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue