Fixed a bug where party members didn't have properly colored names, added some optimization and removed some unnecessary API

This commit is contained in:
nossr50
2020-11-09 13:19:54 -08:00
parent 8c5123f494
commit 34d9f70ac0
12 changed files with 124 additions and 95 deletions

View File

@ -1,3 +1,13 @@
Version 2.1.155
Optimized party/admin chat a bit
Fixed a bug where party members other than the party leader had names that weren't properly hex colored
(API) Removed AbstractPlayerAuthor#getComponentDisplayName
(API) Removed AbstractPlayerAuthor#getComponentUserName
(API) Removed Author#getAuthoredComponentName
NOTES:
Removed some unnecessary API, we aren't a chat plugin so these things shouldn't be here.
Version 2.1.154
Hex colors are now supported in Party & Admin chat
Added support for &#RRGGBB color codes (hex colors) in chat and nicknames for party and admin chat
@ -6,7 +16,7 @@ Version 2.1.154
Fixed a bug where using admin chat would in some circumstances throw a NPE
(API) Author class has been reworked
(API) McMMOChatEvent::getSender removed (use getDisplayName() instead)
(API) McMMMOChatEvent::setDisplayName() removed (you can set author names in Author)
(API) McMMMOChatEvent::setDisplayName() removed
(API) Removed Author::setName use Player::SetDisplayName instead
(API) Modified Author::getAuthoredName signature to -> Author::getAuthoredName(ChatChannel)
(API) Added Author::getAuthoredComponentName(ChatChannel)