Fixed issues with farmland
* Fixed farmland reversion checks not taking into account carrots and potatoes * Fixed #623
This commit is contained in:
parent
b5e898a608
commit
6bbba2644d
@ -87,7 +87,7 @@ public:
|
|||||||
|
|
||||||
if ((Meta < 7) && (Light > 8))
|
if ((Meta < 7) && (Light > 8))
|
||||||
{
|
{
|
||||||
a_Chunk.FastSetBlock(a_RelX, a_RelY, a_RelZ, E_BLOCK_CROPS, ++Meta);
|
a_Chunk.FastSetBlock(a_RelX, a_RelY, a_RelZ, m_BlockType, ++Meta);
|
||||||
}
|
}
|
||||||
else if (Light < 9)
|
else if (Light < 9)
|
||||||
{
|
{
|
||||||
|
@ -90,6 +90,8 @@ public:
|
|||||||
switch (a_Chunk.GetBlock(a_RelX, a_RelY + 1, a_RelZ))
|
switch (a_Chunk.GetBlock(a_RelX, a_RelY + 1, a_RelZ))
|
||||||
{
|
{
|
||||||
case E_BLOCK_CROPS:
|
case E_BLOCK_CROPS:
|
||||||
|
case E_BLOCK_POTATOES:
|
||||||
|
case E_BLOCK_CARROTS:
|
||||||
case E_BLOCK_MELON_STEM:
|
case E_BLOCK_MELON_STEM:
|
||||||
case E_BLOCK_PUMPKIN_STEM:
|
case E_BLOCK_PUMPKIN_STEM:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user