mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-23 19:15:49 +01:00
Work-around another compass issue, seems like a strange one though.
This commit is contained in:
parent
682da2f55e
commit
391daf18e6
@ -195,6 +195,7 @@ public class Quest {
|
||||
targetLocation = nextStage.locationsToReach.getFirst();
|
||||
}
|
||||
if (targetLocation != null) {
|
||||
// org.bukkit.Bukkit.getLogger().info(" setting compass target for " + quester.getPlayer().getName() + " to " + targetLocation);
|
||||
quester.getPlayer().setCompassTarget(targetLocation);
|
||||
}
|
||||
|
||||
|
@ -2747,6 +2747,8 @@ try{
|
||||
quester.saveData();
|
||||
}
|
||||
qs.put(p.getUniqueId(), quester);
|
||||
// Kind of hacky to put this here, works around issues with the compass on fast join
|
||||
quester.findCompassTarget();
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user