1
0

Fixed growing issue with crops.

This commit is contained in:
Samuel Barney 2013-11-14 09:53:09 -07:00
parent 4533fc34ec
commit 570aedb927

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))
{