summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-06-18 07:51:58 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-06-18 07:51:58 -0400
commit138a8e6e48ead7c4230fbf2fed1a53c23b0e2870 (patch)
treed36fa9adb7743ef38f20770af3b0fa99125be0df
parent4f3730a3de33bff5f2984a8fc32b92a6956b9118 (diff)
downloaddreambuilder_modpack-138a8e6e48ead7c4230fbf2fed1a53c23b0e2870.tar
dreambuilder_modpack-138a8e6e48ead7c4230fbf2fed1a53c23b0e2870.tar.gz
dreambuilder_modpack-138a8e6e48ead7c4230fbf2fed1a53c23b0e2870.tar.bz2
dreambuilder_modpack-138a8e6e48ead7c4230fbf2fed1a53c23b0e2870.tar.xz
dreambuilder_modpack-138a8e6e48ead7c4230fbf2fed1a53c23b0e2870.zip
updated castles (anvil)
-rw-r--r--anvil/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/anvil/init.lua b/anvil/init.lua
index acc4996..4fd9830 100644
--- a/anvil/init.lua
+++ b/anvil/init.lua
@@ -287,7 +287,7 @@ minetest.register_node("anvil:anvil", {
minetest.chat_send_player( puncher:get_player_name(), S('Your @1 has been repaired successfully.', tool_desc))
return
else
- pos.y = pos.y + anvil_item_displacement
+ pos.y = pos.y + anvil.setting.item_displacement
minetest.sound_play({name="anvil_clang"}, {pos=pos})
minetest.add_particlespawner({
amount = 10,
@@ -325,7 +325,7 @@ minetest.register_lbm({
nodenames = { "anvil:anvil" },
run_at_every_load = true,
action = function(pos, node, active_object_count, active_object_count_wider)
- local test_pos = {x=pos.x, y=pos.y + anvil_item_displacement, z=pos.z}
+ local test_pos = {x=pos.x, y=pos.y + anvil.setting.item_displacement, z=pos.z}
if #minetest.get_objects_inside_radius(test_pos, 0.5) > 0 then return end
update_item(pos, node)
end