diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 17b2fdc..895c8e9 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -79,11 +79,11 @@ class Pterodactyl(commands.Cog): new_put_data = [ { "key": "FLAGS", - "value": old_startup_args[1] + "value": list_var_response_dict['data'][4]['attributes']['server_value'] }, { "key": "SERVER_JARFILE", - "value": old_startup_args[0] + "value": list_var_response_dict['data'][0]['attributes']['server_value'] } ] if response_dict['attributes']['current_state'] == "offline":