someaddons / connectivity

Minecraft mod connectivity which fixes connection issues
9 stars 0 forks source link

[Bug]: Polymer compatiblity patch doesn't work #45

Closed Patbox closed 1 year ago

Patbox commented 1 year ago

Describe the bug you're experiencing

After getting https://github.com/Patbox/brewery/issues/4 reported and testing for myself, I found out that Connectivity doesn't apply polymer compatibily patch correctly, breaking it's funtionality.

Seems to be caused by mixin being not registered here https://github.com/someaddons/connectivity/blob/1.19.1fabric/src/main/resources/connectivity.mixins.json

Reproducability

Install Brewery (https://github.com/Patbox/brewery) and connectivity. Try creating brewery barrel (singleplayer, but issue could still happen on multi).

Mod up to date

Minecraft version

1.19

Modloader version

Fabric

Logs

No direct logs caused by this issue, it fails silently

someaddons commented 1 year ago

ye was indeed missing something, fixed in 3.4 should work now

Patbox commented 1 year ago

Thanks for fixing and just so you know, with 1.19.4/whatever next release that patch won't be required, asthis bug should be fixed in vanilla. https://bugs.mojang.com/browse/MC-258163

Patbox commented 1 year ago

Checked the compat code and it won't work. Since you check with contains, it matches any SMultiBlockChangePacketMixin in a string, making it also not apply for polymer. You should use endsWith

someaddons commented 1 year ago

fixed