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