SteamWar/BauSystem2.0
Archiviert
12
0

Fix Backup naming

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-07-31 11:46:45 +02:00
Ursprung a4052ec131
Commit 6d5f7a48f2

Datei anzeigen

@ -54,7 +54,7 @@ public class Region {
@Getter @Getter
private static final Map<String, Region> REGION_MAP = new HashMap<>(); private static final Map<String, Region> REGION_MAP = new HashMap<>();
private static final File backupFolder = new File(Bukkit.getWorlds().get(0).getWorldFolder(), "backup"); private static final File backupFolder = new File(Bukkit.getWorlds().get(0).getWorldFolder(), "backup");
private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("HH:mm:ss' 'dd.MM.yyyy"); private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy.MM.dd' 'HH:mm:ss");
public static Region getRegion(Location location) { public static Region getRegion(Location location) {
return REGION_MAP.values().stream() return REGION_MAP.values().stream()