From c918067eda6baf704332fb3598c33c098e507ac2 Mon Sep 17 00:00:00 2001 From: cswhite2000 <18whitechristop@gmail.com> Date: Fri, 7 Jul 2017 04:43:51 -0700 Subject: [PATCH] make stale punishments gray --- .../tc/oc/commons/bukkit/punishment/PunishmentFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/punishment/PunishmentFormatter.java b/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/punishment/PunishmentFormatter.java index f298fcd..2d3ccd3 100644 --- a/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/punishment/PunishmentFormatter.java +++ b/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/punishment/PunishmentFormatter.java @@ -65,7 +65,7 @@ public class PunishmentFormatter { return ImmutableList.of( Components.join(Components.space(), parts), - new Component(" > ").extra(new Component(punishment.reason(), ChatColor.YELLOW)) + new Component(" > ").extra(new Component(punishment.reason(), punishment.stale() ? ChatColor.GRAY : ChatColor.YELLOW)) ); }