We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d45019 commit 08dc18bCopy full SHA for 08dc18b
src/main/java/com/volmit/gloss/chatbubbles/GlossChatBubbles.java
@@ -57,7 +57,8 @@ public void on(PlayerQuitEvent e)
57
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
58
public void on(AsyncPlayerChatEvent e)
59
{
60
- if(e.isCancelled() || Config.blacklist.contains(e.getPlayer().getLocation().getWorld().getName()))
+ if(e.isCancelled() || Config.blacklist.contains(e.getPlayer().getLocation().getWorld().getName()) ||
61
+ !e.getPlayer().hasPermission("gloss.chatbubbles.use"))
62
63
return;
64
}
0 commit comments