summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xEssentials/src/com/earth2me/essentials/commands/Commandptime.java8
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: ");
}