Sea Block


No ore patches, expand from a small island. Also install the 'Sea Block Pack - Official' mod for a complete modpack

Overhaul
9 months ago
0.14 - 1.1
97.6K

b [Fixed]Conflict with Artisanal Reskins: Bob's Mods

4 years ago

Last update on the artisanal reskins conflicts with seablock (crash on game loading), because of an override on the solid-resin icon from seablock. Kirazy found and gave me the fix though, there it is:

In seablock data-updates.lua

replace

-- Change resin item icon to match resin recipe icon
if data.raw.recipe['solid-resin'] then
if data.raw.recipe['solid-resin'].icon then
data.raw.item['resin'].icon = data.raw.recipe['solid-resin'].icon
elseif data.raw.recipe['solid-resin'].icons then
data.raw.item['resin'].icons = data.raw.recipe['solid-resin'].icons
end
end

by

-- Change resin item icon to match resin recipe icon
if data.raw.recipe['solid-resin'] then
if data.raw.recipe['solid-resin'].icon then
data.raw.item['resin'].icon = data.raw.recipe['solid-resin'].icon
data.raw.item['resin'].icon_size = data.raw.recipe['solid-resin'].icon_size
data.raw.item['resin'].icon_mipmaps = data.raw.recipe['solid-resin'].icon_mipmaps
elseif data.raw.recipe['solid-resin'].icons then
data.raw.item['resin'].icons = data.raw.recipe['solid-resin'].icons
data.raw.item['resin'].icon_size = data.raw.recipe['solid-resin'].icon_size
data.raw.item['resin'].icon_mipmaps = data.raw.recipe['solid-resin'].icon_mipmaps
end
end

New response