From a21d80ecd80cf32b4fe77a8ed67564a3de779e43 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Thu, 11 Aug 2011 03:04:57 +0100 Subject: [PATCH] /ptime list output message change --- .../com/earth2me/essentials/commands/Commandptime.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandptime.java b/Essentials/src/com/earth2me/essentials/commands/Commandptime.java index adb34b16a..bbf1dfdcc 100755 --- a/Essentials/src/com/earth2me/essentials/commands/Commandptime.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandptime.java @@ -181,8 +181,12 @@ public class Commandptime extends EssentialsCommand } else { - sender.sendMessage(colorDefault + "The players time was fixed to:"); - sender.sendMessage(DescParseTickFormat.format(ticks)); + String time = DescParseTickFormat.format(ticks); + if (!relative) + { + time = "fixed to " + time; + } + sender.sendMessage(colorDefault + "The players time is " + time); msg.append(colorDefault); msg.append("For: "); }