Formspec now updates after applying enchantment. This prevents crash when trying to apply a second enchantment
This commit is contained in:
parent
7e5954d9c8
commit
556d978708
@ -134,6 +134,7 @@ function enchanting.fields(pos, _, fields, sender)
|
|||||||
mese:take_item(mese_cost)
|
mese:take_item(mese_cost)
|
||||||
inv:set_stack("mese", 1, mese)
|
inv:set_stack("mese", 1, mese)
|
||||||
inv:set_stack("tool", 1, tool)
|
inv:set_stack("tool", 1, tool)
|
||||||
|
enchanting.formspec(pos)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user