diff options
author | KHobbits <rob@khobbits.co.uk> | 2011-08-11 03:04:57 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2011-08-11 03:04:57 +0100 |
commit | a21d80ecd80cf32b4fe77a8ed67564a3de779e43 (patch) | |
tree | 6565a5f902944afc97aabea31817bfa4e9eaca19 | |
parent | 1e7bf9a46c8ba914675211cb354e5b755e7a628f (diff) | |
download | Essentials-a21d80ecd80cf32b4fe77a8ed67564a3de779e43.tar Essentials-a21d80ecd80cf32b4fe77a8ed67564a3de779e43.tar.gz Essentials-a21d80ecd80cf32b4fe77a8ed67564a3de779e43.tar.lz Essentials-a21d80ecd80cf32b4fe77a8ed67564a3de779e43.tar.xz Essentials-a21d80ecd80cf32b4fe77a8ed67564a3de779e43.zip |
/ptime list output message change
-rwxr-xr-x | Essentials/src/com/earth2me/essentials/commands/Commandptime.java | 8 |
1 files 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: "); } |