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 | 83c2e1de15a3c1c486299621938c42a801617574 (patch) | |
tree | 6a7c2d985110e9fd471ff90bd3dbfc0f1e64c8f8 | |
parent | 3c2cdd812e1ad995bbaffbe6e4e92c5aa6e12716 (diff) | |
download | Essentials-83c2e1de15a3c1c486299621938c42a801617574.tar Essentials-83c2e1de15a3c1c486299621938c42a801617574.tar.gz Essentials-83c2e1de15a3c1c486299621938c42a801617574.tar.lz Essentials-83c2e1de15a3c1c486299621938c42a801617574.tar.xz Essentials-83c2e1de15a3c1c486299621938c42a801617574.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: "); } |