@@ -1,6 +1,8 @@
|
||||
package com.massivecraft.factions.struct;
|
||||
|
||||
import com.massivecraft.factions.Conf;
|
||||
import com.massivecraft.factions.zcore.util.TL;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
|
||||
|
||||
@@ -22,6 +24,13 @@ public enum Relation {
|
||||
public String toString() {
|
||||
return this.nicename;
|
||||
}
|
||||
|
||||
public String getTranslation(){
|
||||
for(TL t:TL.values()){
|
||||
if(t.name().equals("RELATION_" + name())) return t.toString();
|
||||
}
|
||||
return toString();
|
||||
}
|
||||
|
||||
public boolean isMember() {
|
||||
return this == MEMBER;
|
||||
|
||||
Reference in New Issue
Block a user