Skip to content
Snippets Groups Projects
Unverified Commit 259420dc authored by rusty-snake's avatar rusty-snake Committed by GitHub
Browse files

enchanting.lua: Allow to pay with industrial mese (#132)

parent 64dcec0c
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,8 @@ end
function enchanting.put(_, listname, _, stack)
local stackname = stack:get_name()
if listname == "mese" and stackname == "default:mese_crystal" then
if listname == "mese" and (stackname == "default:mese_crystal" or
stackname == "imese:industrial_mese_crystal") then
return stack:get_count()
elseif listname == "tool" and allowed(stackname:match("[^:]+$")) then
return 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment