mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-24 09:24:26 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
250edf099c
commit
6815f579a7
1192 files changed
+60344
-62167
No files matched your search
@@ -5,18 +5,19 @@ import java.util.ArrayList;
|
||||
public enum EnumPartyObjectives {
|
||||
Shared("party.shared"),
|
||||
All("party.all"),
|
||||
Leader("party.leader");
|
||||
Leader("party.leader");
|
||||
|
||||
public final String name;
|
||||
public final String name;
|
||||
|
||||
EnumPartyObjectives(String name){
|
||||
this.name = name;
|
||||
}
|
||||
public static String[] names(){
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
for(EnumPartyObjectives e : values())
|
||||
list.add(e.name);
|
||||
EnumPartyObjectives(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
return list.toArray(new String[list.size()]);
|
||||
}
|
||||
public static String[] names() {
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
for (EnumPartyObjectives e : values())
|
||||
list.add(e.name);
|
||||
|
||||
return list.toArray(new String[list.size()]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user