Commit graph

5 commits

Author SHA1 Message Date
CraftBukkit/Spigot
e3dabafd4b Allow colorchar to be uppercase
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:34:11 +02:00
CraftBukkit/Spigot
85e8cedcff Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
Also minimized all the nms diffs and generic cleanups all around.

By: Erik Broes <erikbroes@grum.nl>
2011-06-27 00:25:01 +02:00
CraftBukkit/Spigot
e5a4f1c9cc 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.
By: Erik Broes <erikbroes@grum.nl>
2011-04-25 18:14:06 +02:00
CraftBukkit/Spigot
abe3dff1e1 TextWrapper now wraps text at the proper width and also prevent splitting unless it is needed
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 16:58:05 +01:00
CraftBukkit/Spigot
a6afd3e020 Fixed issue with color markers in messages sent to the client.
This fix eliminates crashes related to color markers being at end-of-line, and also makes colors persist across line breaks.

- The broadcast message is split up in multiple packets, one per line
- Color markers are reorganized, so that color 'sticks across lines'
- The wrapping method calculates the *rendered* line length. Thus, if the user has a weird font, it might look weird.

By: David Flemström <david.flemstrom@gmail.com>
2011-02-20 13:38:27 +01:00