mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-09 20:31:24 +01:00
Proper quester class cast, per #1441
This commit is contained in:
parent
186348b1e4
commit
43faf590e4
@ -71,7 +71,7 @@ import me.blackvein.quests.util.MiscUtil;
|
||||
import me.clip.placeholderapi.PlaceholderAPI;
|
||||
import net.citizensnpcs.api.npc.NPC;
|
||||
|
||||
public class Quester implements Comparable<UUID> {
|
||||
public class Quester implements Comparable<Quester> {
|
||||
|
||||
private final Quests plugin;
|
||||
public boolean hasJournal = false;
|
||||
@ -240,8 +240,8 @@ public class Quester implements Comparable<UUID> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(final UUID uuid) {
|
||||
return id.compareTo(uuid);
|
||||
public int compareTo(final Quester quester) {
|
||||
return id.compareTo(quester.getUUID());
|
||||
}
|
||||
|
||||
public UUID getUUID() {
|
||||
|
Loading…
Reference in New Issue
Block a user