Open KyGost opened 3 years ago
That crash is caused by another mod (Extra Enchants). I'm pretty sure this is not my fault, report it to them.
Oh woah, good find. Very curious that such a mod as that interferes with this mod specifically in this way.
Will check in there, thanks.
Closing for now. Will indevour to update here with either a confirmation of cause or reopen.
Wait-- actually-- looking at that code, what is it that makes you think that is/should cause issues? @2xsaiko
Oh, I managed not to look at the client side log for this crash, very silly of me. Though, looking at it with the context of the stack trace, sure that is the place where the error is occuring but this seems (from my observation) to be uniquely tied to the instance initally described in this issue (with RSWires). Is it possible RSWires is passing a null parameter?
I'll look through code on both sides and see if I see anything.
Reopening for now.
I'm thinking something is awry with this line: https://github.com/2xsaiko/hctm-base/blob/f44553b982b4e87508277a509f03389284397e59/src/main/kotlin/common/block/BaseWire.kt#L111
Either something weird about giving a copy
or something weird about params maybe.
AH! Could it be because we're sending a client form player and a server form player is expected or something? https://github.com/2xsaiko/hctm-base/blob/265712a5718a0d7739cd3cc8b70238882123a50d/src/main/java/net/dblsaiko/hctm/mixin/MixinClientPlayerInteractionManager.java#L38
Very repeatable. Whenever breaking wires which are connected on a wall and a floor/roof surface, the client crashes. No effect on the server. Item is broken but no item form on ground when relaunching.
latest.log