Jump to content

Recommended Posts

The error means that the GetPersistentData function in entityscript.lua is trying to index a component, but the component is a number value. So basically a component is a number instead of a table like how it's supposed to be. I'm assuming somewhere in your code you mistyped something like inst.components.examplecomponent = 1, instead of inst.components.examplecomponent.examplevariable = 1, but I don't have the mod scripts so idk, if you could post your mod here maybe i could help?

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...