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
This commit is contained in:
parent
4212c4ba12
commit
146b3d568a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user