Fixed a little typo

This commit is contained in:
Jaime Martinez Rincon 2017-04-23 18:51:01 +02:00
parent 1ed0bbed77
commit 55eac0dedd
2 changed files with 2 additions and 3 deletions

View File

@ -47,7 +47,7 @@ public class ConfigEntries implements ConfigEntryHolder {
public static final ConfigEntry<String> INVALID_INPUT_MESSAGE = new ConfigEntry<>(0, "settings.messages.invalid-input", null);
public static final ConfigEntry<String> UNAVAILABLE_MESSAGE = new ConfigEntry<>(0, "settings.messages.unavailable-server", null);
public static final ConfigEntry<String> KICK_MESSAGE = new ConfigEntry<>(0, "settings.messages.player-kicked", null);
public static final ConfigEntry<String> BYPASS_MESAGE = new ConfigEntry<>(0, "settings.messages.player-bypass", null);
public static final ConfigEntry<String> BYPASS_MESSAGE = new ConfigEntry<>(0, "settings.messages.player-bypass", null);
public static final ConfigEntry<String> CONFIG_VERSION = new ConfigEntry<>(0, "version", null);
}

View File

@ -7,7 +7,6 @@ import me.jaimemartz.lobbybalancer.connection.ConnectionIntent;
import me.jaimemartz.lobbybalancer.connection.ServerAssignRegistry;
import me.jaimemartz.lobbybalancer.manager.PlayerLocker;
import me.jaimemartz.lobbybalancer.section.ServerSection;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.config.ServerInfo;
import net.md_5.bungee.api.connection.ProxiedPlayer;
import net.md_5.bungee.api.event.ServerConnectEvent;
@ -44,7 +43,7 @@ public class ServerConnectListener implements Listener {
}
if (player.hasPermission("lobbybalancer.bypass")) {
msgr.send(ConfigEntries.BYPASS_MESAGE.get());
msgr.send(ConfigEntries.BYPASS_MESSAGE.get());
return null;
}