You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ public class MyPacketListener extends PacketAdapter<Chat> {
83
83
finalChat packet = event.getPacket();
84
84
if(packet.getPosition() ==2) { // Position 2 means actionbar
85
85
packet.setPosition((byte) 0); // Set to normal chat
86
-
event.markForRewrite(); // We need to mark the packet for rewriting after we changed fields in the packet class. This is only needed when receiving packets.
86
+
event.markForRewrite(); // We need to mark the packet for rewriting after we changed fields in the packet class. This is only necessary when receiving packets.
0 commit comments