Skip to content

Commit

Permalink
Fix Mixin_ChatReceiveEvent_Fabric not compiling in 1.19.4 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
Deftu committed Dec 26, 2024
1 parent 364ca1d commit af5f5d0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ private void chatCallback(GameMessageS2CPacket packet, CallbackInfo ci) {
private Text modifyMessage(GameMessageS2CPacket packet) {
//@formatter:off
if (
//#if MC<11700
//#if MC < 1.17
!packet.isNonChat()
//#elseif MC > 1.19
//$$ !packet.overlay()
//#else
//$$ packet.getLocation() == net.minecraft.network.MessageType.CHAT
//#endif
Expand Down

0 comments on commit af5f5d0

Please sign in to comment.