/ptime list output message change

This commit is contained in:
KHobbits 2011-08-11 03:04:57 +01:00
parent 1e7bf9a46c
commit a21d80ecd8

View File

@ -181,8 +181,12 @@ public class Commandptime extends EssentialsCommand
} }
else else
{ {
sender.sendMessage(colorDefault + "The players time was fixed to:"); String time = DescParseTickFormat.format(ticks);
sender.sendMessage(DescParseTickFormat.format(ticks)); if (!relative)
{
time = "fixed to " + time;
}
sender.sendMessage(colorDefault + "The players time is " + time);
msg.append(colorDefault); msg.append(colorDefault);
msg.append("For: "); msg.append("For: ");
} }