We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb329b commit 3ac0f96Copy full SHA for 3ac0f96
src/main/java/cc/baka9/catseedlogin/bukkit/Config.java
@@ -282,7 +282,7 @@ public static void reload(){
282
283
// 获取玩家退出服务器时的位置
284
public static Optional<Location> getOfflineLocation(Player player) {
285
- return Optional.ofNullable(offlineLocations.get(player.getName()))
+ return Optional.ofNullable(plugin.getConfig().getString("offlineLocations." + player.getName()))
286
.map(Config::str2Location);
287
}
288
0 commit comments