Bewitchment

Bewitchment

7M Downloads

Crash Upon Joining Multiplayer World

Temmie19 opened this issue ยท 8 comments

commented

Now this is an odd one because I have litterally 0 idea how you could manage to get the mouseClicked handler to not even be found by the game, but it happened. And it's making me unable to join my pack's server. I'd love to use Bewitchment, seems like a lot of fun, but it's kinda hard when you get even play the game. This error only occurs when Bewitchment is added.

Expected result:
Joining a multiplayer world

Actual result:
https://pastebin.com/AX8kmNRM

Mod list:
In the crash report

commented

Can you confirm that this still happens without Sodium enabled?

commented

Confirmed it still happens without Sodium and Indium.

https://pastebin.com/S8qvNTy0

commented

Removed Not Enough Crashes and now it crashes immediately.

https://pastebin.com/A30xkQ25

On investigation, it would seem that this is actually due to VoxelMap and was confirmed that this issue no longer occurs when VoxelMap is removed. I was able to join servers just fine.

Upon further inspection of VoxelMap's source code, which I used a java decompiler to find, along with the crash report leads me to believe that something Bewitchment is doing is causing VoxelMap to be unable to process the coordinates of the player for some odd reason.

//Code found at location
public static int xCoord() {
    return (int)((GameVariableAccessShim.minecraft.method_1560().method_23317() < 0.0) ? (GameVariableAccessShim.minecraft.method_1560().method_23317() - 1.0) : GameVariableAccessShim.minecraft.method_1560().method_23317());
//I imagine this would continue to both the y and z coordinates but the x gets caught first, obviously.
}```
commented

I need a crash report without Not Enough Crashes

commented

Does this happen in single player?

commented

I said it crashes immediately on game startup. You don't even get close to the menu.

commented

Oh right, sorry

commented

Regardless, VoxelMap is closed source so I can't fix this