TreeFarmer: Change sapling direction to up (#1537)

Invalid direction to place the sapling
This commit is contained in:
goldenlib 2021-04-11 16:53:53 +02:00 committed by GitHub
parent 58feaaa39a
commit cca0f1f47c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ public class TreeFarmer : ChatBot
case Material.Air: case Material.Air:
// No tree, plant something // No tree, plant something
ChangeSlot(1); ChangeSlot(1);
SendPlaceBlock(sapling); SendPlaceBlock(sapling, Direction.Up);
break; break;
default: default:
// Other block, cannot grow trees here // Other block, cannot grow trees here