From 7fef35a7e20fbd6b68e49325ce7df62f532ce247 Mon Sep 17 00:00:00 2001 From: Robinson Gallego Date: Tue, 4 Feb 2020 00:02:16 -0500 Subject: [PATCH] ah so that's how it works. --- src/main/java/me/totalfreedom/totalfreedommod/banning/Ban.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/banning/Ban.java b/src/main/java/me/totalfreedom/totalfreedommod/banning/Ban.java index 7007d905..fc470139 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/banning/Ban.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/banning/Ban.java @@ -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");