饥荒联机版

饥荒联机版

[阴阳师] 日和坊
buhh 2023 年 7 月 1 日 下午 8:36
If your game crashes with food info mod(s) on
Using mods like insight(show me+) may cause problem due to a lack of nil value check. You may fix it by yourself going into mod file 1899182767\scripts\prefabs and add an if loop for sunflower_GetSanity function in XiaoKaixin_foods_teruterubozu.lua

local GetSanity local function sunflower_GetSanity(self, eater) -- body local sanityvalue = GetSanity(self, eater) if eater ~= nil then return eater.components.sanity and eater.components.sanity:IsLunacyMode() and -sanityvalue or sanityvalue end end

The mod file may sit in a ugc_mod folder for dedicated server or in Steam\steamapps\workshop\content\322330 for if you host your game on a client.
最后由 buhh 编辑于; 2023 年 7 月 1 日 下午 8:50