Snakeman 160 Posted May 4, 2019 Posted May 4, 2019 (edited) Well, making a mod update i discover a basegame bug. When a custom map have a destroyed plant tile, gives error. The way to solve that comes from MOFarming.lua located in media\lua\server\Map\MapObjects Function "NewDestroyed(isoObject)": There is a line (42) that called: ISPlant.initModData(modData) - this line needs to be changed to SPlantGlobalObject.initModData(modData) and in the end of the function needs to add modData.typeOfSeed = typeOfSeed to set properly the icon when players open the farminginfo window. Also there is the same "ISPlant.initModData(modData)" inside of function NewPlow(isoObject) - (Line 33) Needs to be changed also to SPlantGlobalObject.initModData(modData). I patched it in my mod to see if it works. Image that proves that patch working: Edited May 4, 2019 by Snakeman Pandorea 1 Quote Share this post Link to post Share on other sites
EnigmaGrey 6330 Posted May 5, 2019 Posted May 5, 2019 Nice find. Snakeman 1 Quote Share this post Link to post Share on other sites
Perkins47 0 Posted May 5, 2019 Posted May 5, 2019 oyee que mod es ??? Quote Share this post Link to post Share on other sites
Snakeman 160 Posted May 7, 2019 Posted May 7, 2019 On 5/5/2019 at 5:30 PM, Perkins47 said: oyee que mod es ??? Este es el sector de reporte de bugs, cualquier información que requieras sobre mods puedes enviar mensaje a mi perfil! Quote Share this post Link to post Share on other sites