summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Kok <sofar@foo-projects.org>2015-05-25 16:02:09 -0700
committerAuke Kok <sofar@foo-projects.org>2015-05-25 16:02:09 -0700
commit9e48ec76775fa92028632f8cd3a8b6c1516332e7 (patch)
tree6096a9fc2163d21f529fc0281865085f4e5dca4d
parent20f1a5168e64486fff16f16807f2014797f35b89 (diff)
Merge fix.
-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