@EventHandler
	public void rainEvent(CheckRainEvent event) {
		if (state != 2) {
			return;
			//we only want this to happen if it's raining
		}
		PotionEffect frostbite = new PotionEffect(PotionEffectType.POISON, 100, 1); //poison 1 for 5 seconds
		try {
			for (Iterator<Player> playerlist = world.getPlayers().iterator(); playerlist.hasNext(); ) {
				Player player = playerlist.next();
			
				if (player.getWorld().hasStorm())
					if (player.getLocation().getBlock().getLightFromSky() == 15) {
						//outside
						player.addPotionEffect(frostbite);
					}
			}
		}
		catch (ConcurrentModificationException e) {
			plugin.getLogger().info("Concurrent modification error when trying to check players in the rain. Event aborted.");
		}
		
		//reset the timer to wait
		Timer timer = new Timer(fireEvent, 8);
		timer.start();
				
	}