Jump to content

Recommended Posts

On 4/30/2026 at 7:12 AM, Flutty_Go said:
This is my first time coding, and I want to make a mod for my friend. Please help me.

modmain.lua 23.7 kB · 5 downloads

You should attach your logs so we can pinpoint the exact issue. It looks like the problem in your modmain stems from the client trying to execute server-only code.

 

2 hours ago, Flutty_Go said:

Hmm, I've tested it and couldn't find any issues in the modmain. I might have missed something, or the problem could be elsewhere—possibly even a conflict with another mod. Could you upload the complete mod?

9 hours ago, Flutty_Go said:

Maybe it's a problem with my custom pickaxe, I've had a lot of problems with it

Mod.zip 11.87 MB · 3 downloads

I've done some testing but didn't find anything unusual. It might be a conflict with another mod. Try disabling all other client and server mods to see if the issue persists.

7 hours ago, Flutty_Go said:

I disabled all the mods, but I still have this problem...

Let's use the process of elimination. Try removing that custom pickaxe first; if the crash persists, go ahead and disable all the AddPrefabPostInit code. It should only take about 15 minutes to pinpoint the root cause this way

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