summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 3e630a4..29c6828 100644
--- a/init.lua
+++ b/init.lua
@@ -210,6 +210,7 @@ minetest.register_tool("crops:watering_can", {
tool_capabilities = {},
on_use = function(itemstack, user, pointed_thing)
local pos = pointed_thing.under
+ local ppos = pos
if not pos then
return itemstack
end