mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
String wrapper
This commit is contained in:
parent
44188396b4
commit
869b30fcaa
@ -37,6 +37,9 @@ public class AsyncQueueManager implements Runnable {
|
|||||||
|
|
||||||
public boolean contains(String player) {
|
public boolean contains(String player) {
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
>>>>>>> String wrapper
|
||||||
return queue.contains(new EqualString(player));
|
return queue.contains(new EqualString(player));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,9 +55,12 @@ public class AsyncQueueManager implements Runnable {
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
<<<<<<< HEAD
|
||||||
=======
|
=======
|
||||||
return queue.contains(player);
|
return queue.contains(player);
|
||||||
>>>>>>> One per player
|
>>>>>>> One per player
|
||||||
|
=======
|
||||||
|
>>>>>>> String wrapper
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -63,11 +63,16 @@ public class McRankAsync implements Queueable {
|
|||||||
=======
|
=======
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
<<<<<<< HEAD
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
if (obj instanceof String) {
|
if (obj instanceof String) {
|
||||||
return ((String)obj).equalsIgnoreCase(player);
|
return ((String)obj).equalsIgnoreCase(player);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
>>>>>>> One per player
|
>>>>>>> One per player
|
||||||
|
=======
|
||||||
|
public String getPlayer() {
|
||||||
|
return player;
|
||||||
|
>>>>>>> String wrapper
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,7 @@ public class McTopAsync implements Queueable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
public String getPlayer() {
|
public String getPlayer() {
|
||||||
return player;
|
return player;
|
||||||
@ -81,4 +82,10 @@ public class McTopAsync implements Queueable {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
>>>>>>> One per player
|
>>>>>>> One per player
|
||||||
|
=======
|
||||||
|
public String getPlayer() {
|
||||||
|
return player;
|
||||||
|
}
|
||||||
|
|
||||||
|
>>>>>>> String wrapper
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user