mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-26 02:13:04 +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
@@ -4,18 +4,19 @@ import java.util.ArrayList;
|
||||
|
||||
public enum EnumProfileSync {
|
||||
Individual("profile.individual"),
|
||||
Shared("party.shared");
|
||||
Shared("party.shared");
|
||||
|
||||
public final String name;
|
||||
public final String name;
|
||||
|
||||
EnumProfileSync(String name){
|
||||
this.name = name;
|
||||
}
|
||||
public static String[] names(){
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
for(EnumProfileSync e : values())
|
||||
list.add(e.name);
|
||||
EnumProfileSync(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
return list.toArray(new String[list.size()]);
|
||||
}
|
||||
public static String[] names() {
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
for (EnumProfileSync e : values())
|
||||
list.add(e.name);
|
||||
|
||||
return list.toArray(new String[list.size()]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user