mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Add component event
This commit is contained in:
1 parent
2d14d42f64
commit
0483720640
3 files changed
+104
-22
No files matched your search
@@ -5,7 +5,6 @@ import net.draycia.simplechat.events.ChatFormatEvent;
|
||||
import net.draycia.simplechat.storage.ChatUser;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import net.kyori.adventure.text.format.TextColor;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.javacord.api.event.message.MessageCreateEvent;
|
||||
|
||||
import java.util.List;
|
||||
@@ -109,7 +108,7 @@ public abstract class ChatChannel {
|
||||
|
||||
public abstract boolean canPlayerSee(ChatUser sender, ChatUser target);
|
||||
|
||||
public abstract List<Player> getAudience(ChatUser user);
|
||||
public abstract List<ChatUser> getAudience(ChatUser user);
|
||||
|
||||
/**
|
||||
* @return If the channel should forward its formatting / formatted message to other servers
|
||||
|
||||
Reference in new issue
Block a user