Update MixinServerPlayNetworkHandler.java

This commit is contained in:
samo_lego 2020-03-03 21:27:24 +01:00 committed by GitHub
parent c578783727
commit 0dda490964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ public abstract class MixinServerPlayNetworkHandler {
@Shadow @Shadow
public ServerPlayerEntity player; public ServerPlayerEntity player;
@Inject( //todo check on fabric discord in #botposting(`!ym onGameMessage`) @Inject(
method = "onGameMessage", method = "onGameMessage(Lnet/minecraft/network/packet/c2s/play/ChatMessageC2SPacket;)V",
at = @At( at = @At(
value = "INVOKE", value = "INVOKE",
// Thanks to Liach for helping me out! // Thanks to Liach for helping me out!