}
if (args.length == 0) {
message(ChatColor.YELLOW + "The current time of world '" +
worldname + "' is " + TimeUtil.getTimeString(time));
} else {
TimeControl tc = wc.timeControl;
boolean wasLocked = tc.isLocked();
tc.setLocking(lock);
tc.setTime(time);
if (lock) {
if (wc.isLoaded()) {
message(ChatColor.GREEN + "Time of world '" + worldname + "' locked to " +
TimeUtil.getTimeString(time) + "!");
} else {