Rain now waters farmland.
This commit is contained in:
parent
523c6b4b94
commit
0e1e76fa77
@ -42,6 +42,9 @@ public:
|
||||
return;
|
||||
}
|
||||
bool Found = false;
|
||||
|
||||
if (a_World->GetWeather() != eWeather_Rain || a_World->GetBiomeAt(a_BlockX, a_BlockZ) == 1)
|
||||
{
|
||||
int NumBlocks = Area.GetBlockCount();
|
||||
BLOCKTYPE * BlockTypes = Area.GetBlockTypes();
|
||||
for (int i = 0; i < NumBlocks; i++)
|
||||
@ -55,6 +58,11 @@ public:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Found = true;
|
||||
}
|
||||
|
||||
NIBBLETYPE BlockMeta = a_World->GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user