geforkt von SteamWar/BungeeCore
Fix deployarena.py gamemode file loading
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
8c03d2a348
Commit
0c3f200a91
@ -16,7 +16,7 @@ if __name__ == "__main__":
|
|||||||
worldname = sys.argv[3]
|
worldname = sys.argv[3]
|
||||||
|
|
||||||
with open(configfile, 'r') as file:
|
with open(configfile, 'r') as file:
|
||||||
gamemode = yaml.load(configfile, Loader=yaml.CLoader)
|
gamemode = yaml.load(file, Loader=yaml.CLoader)
|
||||||
|
|
||||||
builderworld = path.expanduser(f'~/builder{version}/{worldname}')
|
builderworld = path.expanduser(f'~/builder{version}/{worldname}')
|
||||||
arenaworld = f'/servers/{gamemode["Server"]["Folder"]}/arenas/{worldname}'
|
arenaworld = f'/servers/{gamemode["Server"]["Folder"]}/arenas/{worldname}'
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren