mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-12 08:08:34 +00:00
- Create tag command
- Fix bug fixes
This commit is contained in:
@ -41,7 +41,7 @@ public class ChatListener extends PlexListener
|
||||
{
|
||||
if (hasPrefix)
|
||||
{
|
||||
return LegacyComponentSerializer.legacyAmpersand().deserialize(prefix)
|
||||
return Component.empty().append(LegacyComponentSerializer.legacyAmpersand().deserialize(prefix))
|
||||
.append(Component.space())
|
||||
.append(sourceDisplayName)
|
||||
.append(Component.space())
|
||||
|
@ -36,6 +36,7 @@ public class ServerListener extends PlexListener
|
||||
List<String> samples = plugin.config.getStringList("server.sample");
|
||||
if (!samples.isEmpty())
|
||||
{
|
||||
event.getPlayerSample().clear();
|
||||
event.getPlayerSample().addAll(samples.stream().map(string -> string.replace("&", "§")).map(Bukkit::createProfile).collect(Collectors.toList()));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user