Removed weather for hub update.
This commit is contained in:
parent
a24e8e233c
commit
44145e01f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user