this.updateCelestialTime(time, 1.0f);
}
@Override
public void updateWeather(Weather oldWeather, Weather newWeather) {
WeatherChangeEvent event = getOwner().getEngine().getEventManager().callEvent(new WeatherChangeEvent(getOwner(), oldWeather, newWeather));
if (event.isCancelled()) {
return;
}
if (oldWeather != newWeather) {
for (Player player : getOwner().getPlayers()) {
player.getNetwork().callProtocolEvent(event, player);