Fixed crash

This commit is contained in:
Elias Fleckenstein 2020-12-17 18:58:07 +01:00
parent 19726241c3
commit 0477e729f5

View File

@ -472,7 +472,6 @@ function mcl_enchanting.handle_formspec_fields(player, formname, fields)
inv:set_stack("enchanting_item", 1, itemstack) inv:set_stack("enchanting_item", 1, itemstack)
minetest.sound_play("mcl_enchanting_enchant", {to_player = name, gain = 5.0}) minetest.sound_play("mcl_enchanting_enchant", {to_player = name, gain = 5.0})
mcl_enchanting.reset_table_slots(player) mcl_enchanting.reset_table_slots(player)
mcl_enchanting.reload_inventory(player)
mcl_enchanting.show_enchanting_formspec(player) mcl_enchanting.show_enchanting_formspec(player)
end end
end end