enchanting.lua: Allow to pay with industrial mese (#132)
This commit is contained in:
parent
64dcec0c74
commit
259420dcf5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user