mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-21 18:15:32 +01:00
Use offline player on quit, fixes #2199
This commit is contained in:
parent
c58e591e43
commit
605e63d2a4
@ -898,10 +898,10 @@ public class BukkitQuester implements Quester {
|
||||
}
|
||||
hardQuit(quest);
|
||||
if (plugin.getConfigSettings().getConsoleLogging() > 1) {
|
||||
plugin.getLogger().info(getPlayer().getUniqueId() + " quit quest " + quest.getName());
|
||||
plugin.getLogger().info(getOfflinePlayer().getUniqueId() + " quit quest " + quest.getName());
|
||||
}
|
||||
for (final String message : messages) {
|
||||
if (message != null && !message.equals("") && getPlayer().isOnline()) {
|
||||
if (message != null && !message.equals("") && getOfflinePlayer().isOnline()) {
|
||||
sendMessage(message);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user