A better way to display the current IP (#186)

a better dev did this
This commit is contained in:
Nathan Curran
2020-02-06 13:11:07 +11:00
committed by GitHub
parent 046bebe54c
commit 682145eb13
4 changed files with 8 additions and 8 deletions

View File

@ -246,7 +246,7 @@ public class BanManager extends FreedomService
if (ban != null && !ban.isExpired())
{
event.disallow(PlayerLoginEvent.Result.KICK_OTHER, ban.bakeKickMessage());
event.disallow(PlayerLoginEvent.Result.KICK_OTHER, ban.bakeKickMessage(ip));
}
}