Jump to content

Recommended Posts

Hi, I was looking through the workshop and found a mod called Enforce Good Behavior. 

What it basically does is prevent people from placing down Spider Eggs or reading the On Tentacles book by Wickerbottom, if you are near the spawn Portal.

Whenever I use the mod and try crafting Spider Eggs or making an On Tentacles book the server crashes followed by either:

"Attempt to index deploy a nil value" if I try to craft a Spider Egg or "Attempt to index book a nil value" if I try to craft the On Tentacles book.

Would anyone by any chance know how to fix this issue? I would really like to be able to use this mod it's just a shame that it crashes. 

I've attached the lua file if you'd like to see it for yourself.

Any help is appreciated. Thank you!

 

enforce_good_behavior.lua

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