summaryrefslogtreecommitdiff
path: root/polebean.lua
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2015-12-11 15:57:08 -0800
committerAuke Kok <sofar@foo-projects.org>2015-12-11 15:57:08 -0800
commit9a42477859e9a0d521b8c3b35ce26a8f64ae9c09 (patch)
treea2724e5c04dc8cba844f7b09d42cfc058fccae25 /polebean.lua
parent1376e0b0b3e719d69adad465dc0a4f8eb6b73d35 (diff)
Enable placement prediction everywhere.
Diffstat (limited to 'polebean.lua')
-rw-r--r--polebean.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/polebean.lua b/polebean.lua
index 27eb854..0feeffb 100644
--- a/polebean.lua
+++ b/polebean.lua
@@ -181,6 +181,7 @@ minetest.register_craftitem("crops:green_bean_seed", {
description = "green bean seed",
inventory_image = "crops_green_bean_seed.png",
wield_image = "crops_green_bean_seed.png",
+ node_placement_prediction = "crops:beanpole_plant_base_1",
on_place = function(itemstack, placer, pointed_thing)
local under = minetest.get_node(pointed_thing.under)