Removed weather for hub update.

This commit is contained in:
Jonathan Williams 2013-12-18 13:52:44 -05:00
parent a24e8e233c
commit 44145e01f0

View File

@ -199,35 +199,12 @@ public class WorldManager extends MiniPlugin
World world = UtilWorld.getWorld("world"); World world = UtilWorld.getWorld("world");
if (Manager.Mode.equals("Halloween")) world.setTime(16000); if (Manager.Mode.equals("Halloween"))
else world.setTime(6000); world.setTime(16000);
else
world.setTime(6000);
if (Manager.Mode.equals("Christmas"))
{ world.setStorm(false);
if (_christmasSnow)
{
world.setStorm(true);
if (UtilTime.elapsed(_christSnowTime, 60000))
{
_christSnowTime = System.currentTimeMillis();
_christmasSnow = false;
}
}
else
{
world.setStorm(false);
if (UtilTime.elapsed(_christSnowTime, 120000))
{
_christSnowTime = System.currentTimeMillis();
_christmasSnow = true;
}
}
}
else world.setStorm(false);
} }
@EventHandler @EventHandler