mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-16 12:26:12 +00:00
ah so that's how it works.
This commit is contained in:
parent
c5d778896e
commit
7fef35a7e2
@ -45,6 +45,7 @@ public class Ban implements ConfigLoadable, ConfigSavable, Validatable
|
|||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
private long expiryUnix = -1;
|
private long expiryUnix = -1;
|
||||||
|
private Player player;
|
||||||
|
|
||||||
public Ban()
|
public Ban()
|
||||||
{
|
{
|
||||||
@ -171,7 +172,7 @@ public class Ban implements ConfigLoadable, ConfigSavable, Validatable
|
|||||||
return hasExpiry() && expiryUnix < FUtil.getUnixTime();
|
return hasExpiry() && expiryUnix < FUtil.getUnixTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String bakeKickMessage(Player player)
|
public String bakeKickMessage()
|
||||||
{
|
{
|
||||||
final StringBuilder message = new StringBuilder(ChatColor.GOLD + "You");
|
final StringBuilder message = new StringBuilder(ChatColor.GOLD + "You");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user