mirror of
https://github.com/Sokomine/cottages.git
synced 2025-07-15 06:00:26 +02:00
remove dependency on futil
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
local has = cottages.has
|
||||
|
||||
local resolve_item = futil.resolve_item
|
||||
local resolve_item = cottages.util.resolve_item
|
||||
|
||||
local ci = {}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
local has = cottages.has
|
||||
|
||||
local check_exists = futil.check_exists
|
||||
local item_exists = cottages.util.resolve_item
|
||||
|
||||
local textures = {}
|
||||
|
||||
@ -27,7 +27,7 @@ if has.farming then
|
||||
textures.wheat_seed = "farming_wheat_seed.png"
|
||||
textures.wheat = "farming_wheat.png"
|
||||
|
||||
if cottages.settings.roof.use_farming_straw_stairs and check_exists("farming:straw") then
|
||||
if cottages.settings.roof.use_farming_straw_stairs and item_exists("farming:straw") then
|
||||
textures.straw = "farming_straw.png"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user