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) {
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
>>>>>>> String wrapper
|
||||
return queue.contains(new EqualString(player));
|
||||
}
|
||||
|
||||
@ -52,9 +55,12 @@ public class AsyncQueueManager implements Runnable {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
return queue.contains(player);
|
||||
>>>>>>> One per player
|
||||
=======
|
||||
>>>>>>> String wrapper
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -63,11 +63,16 @@ public class McRankAsync implements Queueable {
|
||||
=======
|
||||
|
||||
@Override
|
||||
<<<<<<< HEAD
|
||||
public boolean equals(Object obj) {
|
||||
if (obj instanceof String) {
|
||||
return ((String)obj).equalsIgnoreCase(player);
|
||||
}
|
||||
return false;
|
||||
>>>>>>> One per player
|
||||
=======
|
||||
public String getPlayer() {
|
||||
return player;
|
||||
>>>>>>> String wrapper
|
||||
}
|
||||
}
|
||||
|
@ -68,6 +68,7 @@ public class McTopAsync implements Queueable {
|
||||
}
|
||||
|
||||
@Override
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
public String getPlayer() {
|
||||
return player;
|
||||
@ -81,4 +82,10 @@ public class McTopAsync implements Queueable {
|
||||
return false;
|
||||
}
|
||||
>>>>>>> One per player
|
||||
=======
|
||||
public String getPlayer() {
|
||||
return player;
|
||||
}
|
||||
|
||||
>>>>>>> String wrapper
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user