Truly-Modular/Modular-Item-API

Cannot invoke because ATTACK_RANGE is null

Closed this issue · 10 comments

Describe the bug
Crash upon trying to add a blade to a weapon in a server. Seems to happen with any combination (blade, handle, etc.). Does not crash when used in singleplayer.

Screenshots
https://i.imgur.com/87v4WL4.png

Minecraft and Mod Version:
Minecraft: 1.20.1
Forge/Fabric: Forge 47.1.3
Miapi: 1.0.4

Additional context
Using many other mods. Tried with and without Oculus installed. Unfortunately, since it's not a "true" crash the logs didn't seem helpful (I couldn't find anything related to the mod).

There are no options for creating weapons/tools now unless I'm missing something.

grafik
does this button not work?

Just chiming in to say that I was having this crash/disconnect issue but the latest version of the mod has fixed this for me.

Also to thank you for making this mod! I don't think I've been this excited for a mod release in quite some time so thank you for blessing us with this incredible mod!

grafik does this button not work?

Neither do

you dont have Rougly enough items in by any chance, right?
cause its known to have issues on servers and cause truly modular to not work on servers

you dont have Rougly enough items in by any chance, right? cause its known to have issues on servers and cause truly modular to not work on servers

I am using EMI, so that might be it. Is there a fix?

sorry, i mean JER nor REI, i got confused by too many 3 letter acronyms, EMI seems to be fine

So, i tried arround and im having trouble recreating this issue,did you try with the latest version of miapi (1.0.6)?

Tried it again and it works now, for some reason. Thank you!