1
0

Merge branch 'master' of git://github.com/SamJBarney/MCServer into SamJBarney-master

This commit is contained in:
madmaxoft 2013-10-04 08:27:58 +02:00
commit 09718bee7d

View File

@ -42,6 +42,10 @@ public:
return;
}
bool Found = false;
int Biome = a_World->GetBiomeAt(a_BlockX, a_BlockZ);
if (a_World->GetWeather() != eWeather_Rain || Biome == biDesert || Biome == biDesertHills)
{
int NumBlocks = Area.GetBlockCount();
BLOCKTYPE * BlockTypes = Area.GetBlockTypes();
for (int i = 0; i < NumBlocks; i++)
@ -55,6 +59,11 @@ public:
break;
}
}
}
else
{
Found = true;
}
NIBBLETYPE BlockMeta = a_World->GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);