Jump to content

Planting seeds on a farm plot causes crash


AFS Co.
  • Pending

If you try to plant something on a farm (either Basic or Improved), the server will crash and you lose connection to the server, with such LUA ERROR below:

[00:07:03]: [string "scripts/prefabs/plant_normal.lua"]:234: attempt to call method 'SetOnWitheredFn' (a nil value)
LUA ERROR stack traceback:
    scripts/prefabs/plant_normal.lua:234 in (field) fn (Lua) <202-271>
    scripts/mainfunctions.lua:258 in () ? (Lua) <247-289>
    =[C]:-1 in (method) SpawnPrefab (C) <-1--1>
    scripts/mainfunctions.lua:306 in (global) SpawnPrefab (Lua) <300-308>
    scripts/components/grower.lua:133 in (method) PlantItem (Lua) <114-151>
    scripts/actions.lua:1180 in (field) fn (Lua) <1176-1193>
    scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
    scripts/entityscript.lua:1313 in (method) PerformBufferedAction (Lua) <1305-1323>
    scripts/stategraphs/SGwilson.lua:4162 in (field) fn (Lua) <4156-4164>
    scripts/stategraph.lua:573 in (method) UpdateState (Lua) <541-585>
    scripts/stategraph.lua:612 in (method) Update (Lua) <604-632>
    scripts/stategraph.lua:128 in (method) Update (Lua) <109-153>
    scripts/update.lua:228 in () ? (Lua) <159-238>


Steps to Reproduce
Just plant any type of seed on your farm



User Feedback


There are no comments to display.



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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...