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");
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;
}
}
else
{
world.setStorm(false);
if (UtilTime.elapsed(_christSnowTime, 120000))
{
_christSnowTime = System.currentTimeMillis();
_christmasSnow = true;
}
}
}
else world.setStorm(false);
if (Manager.Mode.equals("Halloween"))
world.setTime(16000);
else
world.setTime(6000);
world.setStorm(false);
}
@EventHandler