Fix TextWrapping issues; Now limits the packets send to the client to either: 119 chars or 320 width. This will strip disallowed characters, propagate colors properly to the next line and not 'eat' multiple color-codes.

This commit is contained in:
Erik Broes committed 2011-04-25 22:17:07 +02:00
1 parent 6940f56d4d
commit 88ebcc8db5
5 files changed
+103 -40

No files matched your search

@@ -150,9 +150,9 @@ public abstract class Packet {
}
}
public abstract void a(DataInputStream datainputstream);
public abstract void a(DataInputStream datainputstream) throws IOException; // CraftBukkit
public abstract void a(DataOutputStream dataoutputstream);
public abstract void a(DataOutputStream dataoutputstream) throws IOException; // CraftBukkit
public abstract void a(NetHandler nethandler);