This commit is contained in:
sky 2020-05-06 10:54:45 +08:00
parent 12e8d3593d
commit 6ef32eb241

View File

@ -79,7 +79,7 @@ public class LocalPlayer {
return files.computeIfAbsent(toName(player), n -> get0(player)); return files.computeIfAbsent(toName(player), n -> get0(player));
} }
@TSchedule(delay = 1200, period = 1200, async = true) @TSchedule(delay = 20 * 180, period = 20 * 180, async = true)
public static void saveFiles() { public static void saveFiles() {
files.forEach((name, file) -> { files.forEach((name, file) -> {
OfflinePlayer player = toPlayer(name); OfflinePlayer player = toPlayer(name);