fix being unable to craft new compass (detect it in craft_predict)
This commit is contained in:
parent
81d9733ba5
commit
393ef6a80b
6
init.lua
6
init.lua
@ -400,6 +400,12 @@ local function waypoint_compass_copy_meta(itemstack, player, old_craft_grid, cra
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- detect new compass recipie
|
||||||
|
if old_craft_grid[1]:get_name() == "default:copper_ingot" then
|
||||||
|
-- probably a new compass recipie
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
|
|
||||||
local original
|
local original
|
||||||
local index
|
local index
|
||||||
for i = 1, #old_craft_grid do
|
for i = 1, #old_craft_grid do
|
||||||
|
Loading…
Reference in New Issue
Block a user