summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2012-05-16 18:09:33 -0500
committerTravis Watkins <amaranth@ubuntu.com>2012-05-16 23:47:14 -0500
commit3ee75ab6d3c5207d047623278012926804925325 (patch)
tree2152be8b8452f0720c23b97b509706d1257c1fb1 /src/main/java/net
parentb6d611d9be5f2d72a8c37d6a4c66edeab24209b6 (diff)
downloadcraftbukkit-3ee75ab6d3c5207d047623278012926804925325.tar
craftbukkit-3ee75ab6d3c5207d047623278012926804925325.tar.gz
craftbukkit-3ee75ab6d3c5207d047623278012926804925325.tar.lz
craftbukkit-3ee75ab6d3c5207d047623278012926804925325.tar.xz
craftbukkit-3ee75ab6d3c5207d047623278012926804925325.zip
Replace TextWrapper with simple newline splitting. Fixes BUKKIT-1662
TextWrapper used to try to ensure a message would wrap correctly on the client by counting the width of the characters in pixels and wrapping before hitting that limit. This was needed because the client would lose color information when wrapping and could not handle long lines of text. Now that both of these problems are solved in the client we can replace TextWrapper with simple code to split the message into multiple packets on newlines and ensure chat colors carry across to the new packet.
Diffstat (limited to 'src/main/java/net')
0 files changed, 0 insertions, 0 deletions