Plex/src/main/java/me/totalfreedom/plex/rank/DefaultRankObj.java

20 lines
428 B
Java
Raw Normal View History

package me.totalfreedom.plex.rank;
import com.google.common.collect.Lists;
2020-10-28 03:49:56 +00:00
import java.util.List;
import lombok.Getter;
import me.totalfreedom.plex.rank.enums.Rank;
@Getter
public class DefaultRankObj
{
2020-10-28 03:49:56 +00:00
private final String name;
private final List<String> permissions;
public DefaultRankObj(Rank rank)
{
this.name = rank.name().toUpperCase();
this.permissions = Lists.newArrayList();
}
}