Fix Backup naming
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
a4052ec131
Commit
6d5f7a48f2
@ -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()
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren