From c4f51efb4d9261e289172f3e5a5a18d6d0a56406 Mon Sep 17 00:00:00 2001 From: Spencer Date: Tue, 2 Jan 2018 17:11:42 -0500 Subject: [PATCH] Make UtilTime#convertString treat all <= -1 as Permanent instead of == -1 --- .../src/mineplex/core/common/util/UtilTime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Core.Common.Base/src/mineplex/core/common/util/UtilTime.java b/Plugins/Mineplex.Core.Common.Base/src/mineplex/core/common/util/UtilTime.java index 712e73b3d..976f3af86 100644 --- a/Plugins/Mineplex.Core.Common.Base/src/mineplex/core/common/util/UtilTime.java +++ b/Plugins/Mineplex.Core.Common.Base/src/mineplex/core/common/util/UtilTime.java @@ -207,7 +207,7 @@ public class UtilTime public static String convertString(long time, int trim, TimeUnit type) { - if (time == -1) return "Permanent"; + if (time <= -1) return "Permanent"; if (type == TimeUnit.FIT) {