From 44145e01f0be56105b05cfad373c784689a9d0b5 Mon Sep 17 00:00:00 2001 From: Jonathan Williams Date: Wed, 18 Dec 2013 13:52:44 -0500 Subject: [PATCH] Removed weather for hub update. --- .../mineplex/hub/modules/WorldManager.java | 35 ++++--------------- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/modules/WorldManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/modules/WorldManager.java index 6ed66f667..091d1d488 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/modules/WorldManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/modules/WorldManager.java @@ -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