forked from SteamWar/SteamWar
Hotfix GameModeConfig
This commit is contained in:
@@ -36,7 +36,7 @@ public final class GameModeConfig<M, W> {
|
|||||||
|
|
||||||
public static final Function<String, String> ToString = Function.identity();
|
public static final Function<String, String> ToString = Function.identity();
|
||||||
public static final Function<File, String> ToStaticWarGear = __ -> "WarGear";
|
public static final Function<File, String> ToStaticWarGear = __ -> "WarGear";
|
||||||
public static final Function<File, String> ToInternalName = file -> file.getName().replace(".yml", "");
|
public static final Function<File, String> ToInternalName = file -> file != null ? file.getName().replace(".yml", "") : "WarGear";
|
||||||
public static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("dd.MM.yyyy HH:mm");
|
public static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("dd.MM.yyyy HH:mm");
|
||||||
private static final Random random = new Random();
|
private static final Random random = new Random();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user