summaryrefslogtreecommitdiff
path: root/ropes
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-04-24 18:59:36 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-04-24 18:59:36 -0400
commita5eef1c5de77fa7770877802e66c3e1c53f9a0da (patch)
tree0f36e64a58e5f5bb7d95be6ae692f58f2ebfe483 /ropes
parentdda854cf06f90a04a03844e19c4d4ad220e38fe4 (diff)
downloaddreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.tar
dreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.tar.gz
dreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.tar.bz2
dreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.tar.xz
dreambuilder_modpack-a5eef1c5de77fa7770877802e66c3e1c53f9a0da.zip
update castles, areas, homedecor, plantlife,
gloopblocks, hotbar, inspector, maptools, mesecons, moreblocks, moreores, technic, teleport_request, and worldedit switched to caverealms_lite (with minor fixes by me) switched to CWz's fork of player_textures The homedecor update brings in the big split, and will require you to re-enable all modpack components in order to avoid loss of content.
Diffstat (limited to 'ropes')
-rw-r--r--ropes/extendingladder.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/ropes/extendingladder.lua b/ropes/extendingladder.lua
index c804ac2..01d1563 100644
--- a/ropes/extendingladder.lua
+++ b/ropes/extendingladder.lua
@@ -53,6 +53,11 @@ minetest.register_craft({
local ladder_extender = function(pos, node, clicker, itemstack, pointed_thing, ladder_node, standing_limit)
+ -- on_rightclick can be called by other mods, make sure we have all the parameters we need
+ if pointed_thing == nil or itemstack == nil then
+ return itemstack
+ end
+
local clicked_stack = ItemStack(itemstack)
-- true if we're pointing up at the ladder from below and there's a buildable space below it