Skip to content

ProductionStorageControl - Pallets spawn - NIL in LUA #7

@SirGarnet

Description

@SirGarnet

Hi Braeven,

I just emptied a lot of productions and now it will not generate new pallet on any production.

The only thing that I could find in the log file of the server is:

2025-09-24 21:41:15.206 dataS/character/playerM/heads/mHead03.i3d (261.44 ms) 2025-09-24 21:41:15.249 dataS/character/playerM/hairStyles/hairStyleMidParted01.i3d (43.51 ms) 2025-09-24 21:41:18.424 Error: Running LUA method 'update'. C:/Users/acc/Documents/My Games/FarmingSimulator2025/mods/FS25_ProductionStorageControl/scripts/productionStorageControl_spawner.lua:360: attempt to index nil with 'type' 2025-09-24 21:41:41.036 dataS/character/playerF/pants/botYogaPants.i3d (22.38 ms) 2025-09-24 21:41:41.205 dataS/character/playerF/heads/fHead02.i3d (168.76 ms)

May be you can catch the nil so that the LUA does not die totally.

Thank Stresskind

Metadata

Metadata

Assignees

No one assigned

    Labels

    FS25_PSCFS25_ProductionStorageControlbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions