geforkt von SteamWar/BungeeCore
Merge pull request 'Fix possible world names for paper' (#273) from fixWorldNames into master
Reviewed-on: SteamWar/BungeeCore#273 Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Commit
191ccc6ed9
@ -96,6 +96,8 @@ public class SubserverSystem {
|
|||||||
if(mapName == null)
|
if(mapName == null)
|
||||||
mapName = serverName;
|
mapName = serverName;
|
||||||
|
|
||||||
|
mapName = mapName.replace(' ', '_').replace("[", "").replace("]", "");
|
||||||
|
|
||||||
String worldDir;
|
String worldDir;
|
||||||
if(eventFightID > 0)
|
if(eventFightID > 0)
|
||||||
worldDir = EVENT_PATH;
|
worldDir = EVENT_PATH;
|
||||||
@ -138,7 +140,7 @@ public class SubserverSystem {
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
serverName,
|
serverName,
|
||||||
serverName.replace(' ', '_') + eventFight.getStartTime().toLocalDateTime().format(DateTimeFormatter.ISO_TIME),
|
serverName + eventFight.getStartTime().toLocalDateTime().format(DateTimeFormatter.ISO_TIME),
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
false);
|
false);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren