Created
August 5, 2014 08:43
-
-
Save Goblom/c680b4bf5c2108b117be to your computer and use it in GitHub Desktop.
Something funny Packeteer can do
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PacketHandler(type = PacketHandleType.INCOMING, forClass = "PacketPlayInUpdateSign") | |
public void onPlayInSignUpdate(PacketEvent event) { | |
Packet packet = event.getPacket(); | |
String[] lines = packet.read("d", String[].class); | |
for (int i = 0; i < lines.length; i++) { | |
lines[i] = "rekt?"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment