Use offline version of getJobLv().

master_event
sigonasr2 11 years ago
parent 0e1fe37493
commit 65263a474e
  1. 4
      BankEconomyMod/src/me/kaZep/Commands/commandBankEconomy.java

@ -1744,8 +1744,8 @@ public String convertToItemName(String val) {
while (sorted_players.size()>0) { while (sorted_players.size()>0) {
for (int i=0;i<sorted_players.size();i++) { for (int i=0;i<sorted_players.size();i++) {
if (sorted_players.get(i).length()>0) { //If it's 0, for some reason it didn't read this name right....Skip it. if (sorted_players.get(i).length()>0) { //If it's 0, for some reason it didn't read this name right....Skip it.
if (this.plugin.getJobLv(job, p)<lowest) { if (this.plugin.getJobLv(job, sorted_players.get(i))<lowest) {
lowest=this.plugin.getJobLv(job, p); lowest=this.plugin.getJobLv(job, sorted_players.get(i));
lowest_slot=i; lowest_slot=i;
} }
} }

Loading…
Cancel
Save