ah so that's how it works.

This commit is contained in:
Robinson Gallego 2020-02-04 00:02:16 -05:00
parent c5d778896e
commit 7fef35a7e2

View File

@ -45,6 +45,7 @@ public class Ban implements ConfigLoadable, ConfigSavable, Validatable
@Getter
@Setter
private long expiryUnix = -1;
private Player player;
public Ban()
{
@ -171,7 +172,7 @@ public class Ban implements ConfigLoadable, ConfigSavable, Validatable
return hasExpiry() && expiryUnix < FUtil.getUnixTime();
}
public String bakeKickMessage(Player player)
public String bakeKickMessage()
{
final StringBuilder message = new StringBuilder(ChatColor.GOLD + "You");