mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 18:09:06 +00:00
Use proper quickChat boolean check.
This commit is contained in:
parent
b05ce441f0
commit
7570d42355
@ -25,7 +25,7 @@ public class VentureChatPlaceholders extends PlaceholderExpansion {
|
||||
return "value for that identifier *";
|
||||
}
|
||||
if (identifier.startsWith("channel_")) {
|
||||
ChatChannel currentChannel = mcp.hasQuickChannel() ? mcp.getQuickChannel() : mcp.getCurrentChannel();
|
||||
ChatChannel currentChannel = mcp.isQuickChat() ? mcp.getQuickChannel() : mcp.getCurrentChannel();
|
||||
if (currentChannel == null) {
|
||||
return "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user