mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Remove ignore check from 'use'
This commit is contained in:
1 parent
ce8b36ca9e
commit
ad857e326a
1 file changed
-4
@@ -45,10 +45,6 @@ public class CarbonChatChannel extends ChatChannel {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean canPlayerUse(ChatUser user) {
|
public Boolean canPlayerUse(ChatUser user) {
|
||||||
if (user.getChannelSettings(this).isIgnored()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return user.asPlayer().hasPermission("carbonchat.channels." + getName() + ".use");
|
return user.asPlayer().hasPermission("carbonchat.channels." + getName() + ".use");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user