Skip to content

Commit

Permalink
Show player combat death message above hotbar in 1.9->1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Sep 17, 2024
1 parent 6a85860 commit e8028cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public void register() {

final PacketWrapper chatMessage = wrapper.create(ClientboundPackets1_8.CHAT);
chatMessage.write(Types.COMPONENT, message);
chatMessage.write(Types.BYTE, (byte) 1); // Position - in chat
chatMessage.write(Types.BYTE, (byte) 2); // Position - above hotbar
chatMessage.scheduleSend(Protocol1_9To1_8.class);
});

Expand Down

0 comments on commit e8028cf

Please sign in to comment.