From 146b3d568a6df6f4ac07222bd99a39f11355a0f7 Mon Sep 17 00:00:00 2001 From: "nielsbreu@gmail.com" Date: Mon, 24 Jun 2013 16:50:32 +0000 Subject: The weather doesn't change if the dimension is not Overworld. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1624 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/World.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source') diff --git a/source/World.cpp b/source/World.cpp index c8a7b9ded..39dd17c17 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -544,6 +544,12 @@ void cWorld::Tick(float a_Dt) void cWorld::TickWeather(float a_Dt) { + // There are no weather changes anywhere but in the Overworld: + if (GetDimension() != dimOverworld) + { + return; + } + if (m_WeatherInterval > 0) { // Not yet, wait for the weather period to end -- cgit v1.2.3