mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-26 18:47:57 +01:00
More fixes
This commit is contained in:
parent
86e4a4344b
commit
7e9aada919
@ -239,8 +239,7 @@ public class Leaderboard {
|
|||||||
String line = "";
|
String line = "";
|
||||||
String[] info = new String[10]; //what to return
|
String[] info = new String[10]; //what to return
|
||||||
|
|
||||||
while (in.readLine() != null && y < 10) {
|
while ((line = in.readLine()) != null && y < 10) {
|
||||||
line = in.readLine();
|
|
||||||
x++;
|
x++;
|
||||||
|
|
||||||
if (x >= destination && y < 10) {
|
if (x >= destination && y < 10) {
|
||||||
@ -279,8 +278,7 @@ public class Leaderboard {
|
|||||||
String line = "";
|
String line = "";
|
||||||
Boolean inserted = false;
|
Boolean inserted = false;
|
||||||
|
|
||||||
while (in.readLine() != null) {
|
while ((line = in.readLine()) != null) {
|
||||||
line = in.readLine();
|
|
||||||
|
|
||||||
//Insert the player into the line before it finds a smaller one
|
//Insert the player into the line before it finds a smaller one
|
||||||
if (Integer.valueOf(line.split(":")[1]) < ps.statVal && !inserted) {
|
if (Integer.valueOf(line.split(":")[1]) < ps.statVal && !inserted) {
|
||||||
|
Loading…
Reference in New Issue
Block a user