mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-02-21 15:34:34 +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
|
* Saves the default config if it doesn't exist
|
||||||
* Registers the tab completer and the event listeners
|
* Registers the tab completer and the event listeners
|
||||||
* Checks if the config needs to be updated to the new version
|
* 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
|
* Updates the map and styleMap @see ParticleCreator
|
||||||
* Starts the particle spawning task
|
* Starts the particle spawning task
|
||||||
* Registers the command executor
|
* Registers the command executor
|
||||||
|
|
|
@ -184,8 +184,8 @@ public class LangManager {
|
||||||
public static void setup() {
|
public static void setup() {
|
||||||
FileConfiguration config = PlayerParticles.getPlugin().getConfig();
|
FileConfiguration config = PlayerParticles.getPlugin().getConfig();
|
||||||
messagesEnabled = config.getBoolean("messages-enabled");
|
messagesEnabled = config.getBoolean("messages-enabled");
|
||||||
prefixEnabled = config.getBoolean("use-prefix");
|
prefixEnabled = config.getBoolean("use-message-prefix");
|
||||||
messagePrefix = parseColors(config.getString("prefix"));
|
messagePrefix = parseColors(config.getString("message-prefix"));
|
||||||
|
|
||||||
YamlConfiguration lang = configureLangFile(config);
|
YamlConfiguration lang = configureLangFile(config);
|
||||||
if (lang == null) {
|
if (lang == null) {
|
||||||
|
|
Loading…
Reference in a new issue