diff options
| author | TenPlus1 <kinsellaja@yahoo.com> | 2018-06-19 18:42:13 +0100 |
|---|---|---|
| committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-06-19 18:42:13 +0100 |
| commit | 10abb996c10c310f8cea66e7e085b852897a0a23 (patch) | |
| tree | 8bc6711e3be2c12c9f5f821b9cb8d1fe2dbfe3f2 /init.lua | |
| parent | 1018a558d2b92eb5cdba657c0f6367243c1b85a8 (diff) | |
nil check
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -445,7 +445,7 @@ function farming.place_seed(itemstack, placer, pointed_thing, plantname) end -- is player planting seed? - local name = placer:get_player_name() or "" + local name = placer and placer:get_player_name() or "" -- if not protected then add node and remove 1 item from the itemstack if not minetest.is_protected(pt.above, name) then |
