Archiviert
1
0

Fix possible world names for paper

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-12-04 07:57:06 +01:00
Ursprung 3be85af4bb
Commit 87ccd1a6d8

Datei anzeigen

@ -96,6 +96,8 @@ public class SubserverSystem {
if(mapName == null)
mapName = serverName;
mapName = mapName.replace(' ', '_').replace("[", "").replace("]", "");
String worldDir;
if(eventFightID > 0)
worldDir = EVENT_PATH;
@ -138,7 +140,7 @@ public class SubserverSystem {
0,
0,
serverName,
serverName.replace(' ', '_') + eventFight.getStartTime().toLocalDateTime().format(DateTimeFormatter.ISO_TIME),
serverName + eventFight.getStartTime().toLocalDateTime().format(DateTimeFormatter.ISO_TIME),
null,
null,
false);