forked from kaboomserver/extras
PlayerConnection.java: Remove hostname check for play.flame.ga
flame.ga is no longer a valid domain.
This commit is contained in:
parent
8fdf9b227a
commit
3d1f8e5247
1 changed files with 0 additions and 6 deletions
|
@ -84,12 +84,6 @@ public final class PlayerConnection implements Listener {
|
|||
|
||||
@EventHandler
|
||||
void onPlayerLogin(final PlayerLoginEvent event) {
|
||||
if (event.getHostname().startsWith("play.flame.ga")
|
||||
&& event.getHostname().endsWith(":25565")) {
|
||||
event.disallow(Result.KICK_OTHER, "You connected to the server using an outdated server address/IP.\nPlease use the following address/IP:\n\nkaboom.pw");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!ENABLE_JOIN_RESTRICTIONS) {
|
||||
event.allow();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue