mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-21 11:45:25 +01:00
Fix issue in VentureChatIntegration
This commit is contained in:
parent
26c472d0b8
commit
85d40a061b
@ -144,7 +144,6 @@ public class VentureChatIntegration extends PluginIntegration<BukkitDiscordSRV>
|
||||
|
||||
@Override
|
||||
public void sendMessage(@NotNull MinecraftComponent component) {
|
||||
Component comp = ComponentUtil.fromAPI(component);
|
||||
for (MineverseChatPlayer player : MineverseChatAPI.getMineverseChatPlayers()) {
|
||||
if (!player.isListening(channel.getName())) {
|
||||
continue;
|
||||
@ -159,6 +158,7 @@ public class VentureChatIntegration extends PluginIntegration<BukkitDiscordSRV>
|
||||
continue;
|
||||
}
|
||||
|
||||
Component comp = ComponentUtil.fromAPI(component);
|
||||
if (player.hasFilter() && channel.isFiltered()) {
|
||||
comp = comp.replaceText(
|
||||
TextReplacementConfig.builder()
|
||||
|
Loading…
Reference in New Issue
Block a user