diff options
Diffstat (limited to 'src/scriptapi.cpp')
-rw-r--r-- | src/scriptapi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index 66654813e..b7a7f6e42 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -4254,6 +4254,7 @@ private: tree_def.fruitnode=ndef->getId(fruit); getintfield(L, 3, "fruit_chance",tree_def.fruit_chance); } + getintfield(L, 3, "seed", tree_def.seed); } else return 0; |