}
}
World world = args.popWorld("world", source);
args.assertCompletelyParsed();
Sky sky = world.get(Sky.class);
if (sky == null) {
throw new CommandException("The sky for " + world.getName() + " is not available.");
}
sky.setTime(relative ? (sky.getTime() + time) : time);
if (getEngine() instanceof Client) {
source.sendMessage(plugin.getPrefix() + ChatStyle.GREEN + "You set "
+ ChatStyle.WHITE + world.getName() + ChatStyle.GREEN
+ " to time: " + ChatStyle.WHITE + sky.getTime());
} else {
((Server) getEngine()).broadcastMessage(plugin.getPrefix() + ChatStyle.WHITE
+ world.getName() + ChatStyle.GREEN + " set to: " + ChatStyle.WHITE + sky.getTime());
}
}