Support for checking is mute list is empty

This commit is contained in:
Marco Cunha committed 2012-08-25 00:10:17 +02:00
1 parent d929a5be71
commit e1046c35e0
1 file changed
+6 -1
@@ -214,7 +214,12 @@ public abstract class Channel {
public void setLeavePermission(String permission) {
leavePermission = permission;;
}
public boolean hasMuteList() {
if (mutedPlayers == null || mutedPlayers.isEmpty()) return false;
return true;
}
public Set<String> getMuteList() {
return mutedPlayers.keySet();
}