New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility with ReplayMod #112
Comments
|
Is this crash specifically only when playing back replays, or does it also happen during normal gameplay/saving replays? I haven't messed with replaymod much though I do understand the basic idea of how it works. The fix you've included looks like it would be correct in terms of fixing the crash, but I'm not 100% sure I even want to be running that code if it only applies during playback (though, also, I don't know how I'd sanely detect that case; checking if the network manager class doesn't match exactly seem correct and I don't think there's any harm to running the code). |
|
I've applied the fix you wrote. I haven't tested how it works with replaymod yet (though I did confirm that it doesn't break code in normal cases via my unit tests). Thanks for the report! |
|
Also why does this have the "litemod-only" tag. Doesn't WDL REQUIRE LiteLoader and not Forge. |
|
It's as opposed to the base edit version (which is incompatible with everything, so this issue wouldn't apply to it). Probably not a super useful label, but I set the labels up a long time ago and now I'm just using them :P |
|
This should be fixed as of v4.0.4.0. Let me know if it's still an issue. |
When opening a replay in the ReplayMod with the 4.0.3.3-mc1.12.2 LiteLoader version of WDL installed (probably all other MC versions as well), the game crashes with:
WorldDownloader/1.12.2-litemod/src/main/java/com/uyjulian/LiteModWDL/mixin/MixinNetHandlerPlayClient.java
Line 49 in 9d2d900
which is to be expected considering the ReplayMod uses an extended NetworkManager class during replay.
If I'm not mistaken, the fix for this should be as simple as replacing the call to
findAndGetPrivateField(networkManagerIn, Channel.class)withfindAndGetPrivateField(networkManagerIn, NetworkManager.class, Channel.class)The text was updated successfully, but these errors were encountered: