
1.21.5NF - Crash if mod is not present on server.
Shinseiki555 opened this issue ยท 6 comments
Versioning
Client : Minecraft Neoforge 21.5.37-beta
Mod client side : Only Finder Compass
Server : Vanilla 1.21.5 / Neoforge-21.5.37-beta / forge-1.21.5-55.0.6 / fabric 1.0.3
Mod server side : None.
What did you do
Nothing, client crash a few second after connecting to server, see video.
Expected behavior
Not crashing ?
Screenshots/Video
Crashlog : https://pastebin.com/bn5rDh8G
Video : https://www.youtube.com/watch?v=i6SsGlmL5e4
Same behavior with Neoforge (Client and Server) 21.5.40-Beta and further release.
The best i can achieve is the mod wont crash, but it will not work on vanilla servers. On newer MC versions, the clients don't have the entire map sent to them, which is why the serverside part of the mod does the block and feature (e.g. villages) searching.
If you connect with Finder Compass to a vanilla 1.21.5 server, i dont think any needles will ever show up.
It crash on NeoForge / Forge / Fabric server too if mod is not present, do you need a crashlog on these server or are those considered "Vanilla" too ?
"Server that does not have the mod" rather than vanilla :)
I dont know how to do this and will have to wait for someone in the neoforge discord to enlighten me. I could certainly use reflection hacking into the same system triggering the crash but i dont see an intentional way of checking.
I was wrong, by the way, i misremembered. Finder Compass should still work for blocks on servers that dont have the mod. It wont detect villages or ender portals, though. You need the serverside mod for that.