letitbe01 Posted December 10, 2023 Share Posted December 10, 2023 i just made mod that makes crow and seeds do not burn, and it works well but another player can not join my server. how can i fix it? modicon.tex modicon.xml modinfo.lua modmain.lua Link to comment Share on other sites More sharing options...
Boogiepop210 Posted December 22, 2023 Share Posted December 22, 2023 local function ExtinguishIfIgnited(inst) if inst.components.burnable and inst.components.burnable:IsBurning() then inst.components.burnable:Extinguish() inst:RemoveEventCallback("onignite", ExtinguishIfIgnited) end end --Shouldn't it be local function ExtinguishIfIgnited(inst) if inst.components.burnable and inst.components.burnable:IsBurning() then inst.components.burnable:Extinguish() inst:RemoveEventCallback("onignite", OnIgnite) end end Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now