Aelysium-Group / rusty-connector

A player and server connection manager for Velocity based Minecraft Networks!
GNU General Public License v3.0
77 stars 17 forks source link

`gradlew runServer` fails on branch `v0.8.0` due to outdated version of adventure-platform-fabric #62

Closed xane256 closed 8 months ago

xane256 commented 9 months ago

On the latest version of the v0.8.0 branch, executing ./gradlew runServer from the plugin directory of the repo fails with the following line appearing in the logs:

2024-01-23T22:54:04.840-0800 [QUIET] [system.out] [22:54:04] [main/ERROR] (FabricLoader/Mixin) Mixin apply for mod adventure-platform-fabric failed adventure-platform-fabric.mixins.json:minecraft.server.level.ServerPlayerMixin from mod adventure-platform-fabric -> net.minecraft.server.network.ServerPlayerEntity: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on adventure$handleLocaleUpdate could not find any targets matching 'Lnet/minecraft/server/network/ServerPlayerEntity;method_14213(Lnet/minecraft/network/packet/c2s/common/ClientOptionsC2SPacket;)V' in net.minecraft.server.network.ServerPlayerEntity. Using refmap adventure-platform-fabric-refmap.json [PREINJECT Applicator Phase -> adventure-platform-fabric.mixins.json:minecraft.server.level.ServerPlayerMixin from mod adventure-platform-fabric -> Prepare Injections ->  -> handler$zhj000$adventure-platform-fabric$adventure$handleLocaleUpdate(Lnet/minecraft/network/packet/c2s/common/ClientOptionsC2SPacket;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]

According to https://docs.advntr.dev/platform/fabric.html I believe the version for adventure-platform-fabric should be 5.10.1 to match Minecraft 1.20.2.