mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-07 00:38:42 +01:00
Update SignUtil.java
This commit is contained in:
parent
4544dd79f5
commit
42568926d3
@ -41,7 +41,7 @@ public class SignUtil {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
ConfigurationSection ConfCategory = f.getConfigurationSection("Signs");
|
ConfigurationSection ConfCategory = f.getConfigurationSection("Signs");
|
||||||
ArrayList<String> categoriesList = new ArrayList<String>(ConfCategory.getKeys(false));
|
ArrayList<String> categoriesList = new ArrayList<>(ConfCategory.getKeys(false));
|
||||||
if (categoriesList.size() == 0)
|
if (categoriesList.size() == 0)
|
||||||
return;
|
return;
|
||||||
for (String category : categoriesList) {
|
for (String category : categoriesList) {
|
||||||
@ -108,7 +108,7 @@ public class SignUtil {
|
|||||||
double SignsZ = one.GetZ();
|
double SignsZ = one.GetZ();
|
||||||
int number = one.GetNumber() - 1;
|
int number = one.GetNumber() - 1;
|
||||||
|
|
||||||
List<TopList> PlayerList = new ArrayList<TopList>();
|
List<TopList> PlayerList = new ArrayList<>();
|
||||||
if (!JobName.equalsIgnoreCase("gtoplist")) {
|
if (!JobName.equalsIgnoreCase("gtoplist")) {
|
||||||
PlayerList = Jobs.getJobsDAO().toplist(SignJobName, number);
|
PlayerList = Jobs.getJobsDAO().toplist(SignJobName, number);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user