From a5eef1c5de77fa7770877802e66c3e1c53f9a0da Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 24 Apr 2019 18:59:36 -0400 Subject: 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. --- ropes/extendingladder.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ropes') 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 -- cgit v1.2.3