mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 18:09:06 +00:00
Fix color codes not properly propagating for chat color = 'None' option.
This commit is contained in:
parent
1438ca206b
commit
cc508eabe2
1
TODO.txt
1
TODO.txt
@ -71,6 +71,7 @@ Add config option to disable chat logging in the console
|
||||
|
||||
Make filters not case insensitive
|
||||
Update filter system
|
||||
Add option to disable filters without having to remove them all
|
||||
|
||||
Add GUI for /channel to join channels
|
||||
Add configurable channel icon block/item
|
||||
|
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>mineverse.Aus1n46.chat</groupId>
|
||||
<artifactId>VentureChat</artifactId>
|
||||
<version>3.0.1</version>
|
||||
<version>3.0.2</version>
|
||||
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>
|
||||
<scm>
|
||||
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>
|
||||
|
@ -475,7 +475,8 @@ public class ChatListener implements Listener {
|
||||
chat = " " + chat;
|
||||
}
|
||||
if(curColor.equalsIgnoreCase("None")) {
|
||||
chat = Format.getLastCode(format) + chat;
|
||||
// Format the placeholders and their color codes to determine the last color code to use for the chat message color
|
||||
chat = Format.getLastCode(Format.FormatStringAll(PlaceholderAPI.setBracketPlaceholders(mcp.getPlayer(), format))) + chat;
|
||||
}
|
||||
else {
|
||||
chat = curColor + chat;
|
||||
|
Loading…
x
Reference in New Issue
Block a user