Removed weather for hub update.

This commit is contained in:
Jonathan Williams 2013-12-18 13:52:44 -05:00
parent a24e8e233c
commit 44145e01f0
1 changed files with 6 additions and 29 deletions

View File

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