mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 14:38:58 +00:00
Support for checking is mute list is empty
This commit is contained in:
1 parent
d929a5be71
commit
e1046c35e0
1 file changed
+5
@@ -215,6 +215,11 @@ public abstract class Channel {
|
|||||||
leavePermission = permission;;
|
leavePermission = permission;;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean hasMuteList() {
|
||||||
|
if (mutedPlayers == null || mutedPlayers.isEmpty()) return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
public Set<String> getMuteList() {
|
public Set<String> getMuteList() {
|
||||||
return mutedPlayers.keySet();
|
return mutedPlayers.keySet();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user