1
0

Merge pull request #349 from SamJBarney/master

Fixed growing issue with crops.
This commit is contained in:
Alexander Harkness 2013-11-14 10:17:11 -08:00
commit d665bc8806

View File

@ -79,6 +79,12 @@ public:
{
NIBBLETYPE Meta = a_World->GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);
NIBBLETYPE Light = a_World->GetBlockBlockLight(a_BlockX, a_BlockY, a_BlockZ);
NIBBLETYPE SkyLight = a_World->GetBlockSkyLight(a_BlockX, a_BlockY, a_BlockZ);
if (SkyLight > Light)
{
Light = SkyLight;
}
if ((Meta < 7) && (Light > 8))
{