Merge pull request #349 from SamJBarney/master
Fixed growing issue with crops.
This commit is contained in:
commit
d665bc8806
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user