RSWires

RSWires

1M Downloads

Crash when breaking wires which exist horizontally and vertically

KyGost opened this issue ยท 6 comments

commented

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

commented

That crash is caused by another mod (Extra Enchants). I'm pretty sure this is not my fault, report it to them.

https://github.com/herb-mc/extra_enchants/blob/3d2e47e028f8e3244707a8ee73d58a7d39945db4/src/main/java/com/herb_mc/extra_enchants/mixin/BlockMixin.java#L42

commented

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.

commented

Wait-- actually-- looking at that code, what is it that makes you think that is/should cause issues?
@2xsaiko

commented

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.

commented

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.

commented

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