Vivecraft

Vivecraft

5M Downloads

little tiles redirect conflict

fayer3 opened this issue ยท 3 comments

commented

little tiles crashes because of a redirect conflict, probably fixable with mixin extras

@Redirect conflict. Skipping littletiles.mixins.json:client.MinecraftMixin->@Redirect::isDestroying(Lnet/minecraft/client/multiplayer/MultiPlayerGameMode;)Z with priority 1000, already redirected by vivecraft.mixins.json:client_vr.MinecraftVRMixin->@Redirect::vivecraft$seatedCheck(Lnet/minecraft/client/multiplayer/MultiPlayerGameMode;)Z with priority 1000

https://github.com/CreativeMD/LittleTiles/blob/3b191a2e52bf96e979cb0cb3f1766841b77630df/src/main/java/team/creative/littletiles/mixin/client/MinecraftMixin.java#L89-L92

@Redirect(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/multiplayer/MultiPlayerGameMode;isDestroying()Z"), method = "startUseItem()V")

https://modrinth.com/mod/littletiles

commented

#284 will replace all redirects with wrap operations which will also fix this

commented

Made use of MixinExtra's wrapper operator, which should hopefully fix this issue.

commented

should be fixed with #284