fix(pterodactyl): fixed incorrect configuration value
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 24s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 28s

This commit is contained in:
Seaswimmer 2024-03-14 16:39:15 -04:00
parent c546fa597b
commit cbd9f28f38
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -101,7 +101,7 @@ class Pterodactyl(commands.Cog):
"O": str(await config.topic_port()),
}
if await config.api_endpoint() == "minecraft":
status, response = await mcsrvstatus.get_status(await config.topic_ip(), await config.topic_port())
status, response = await mcsrvstatus.get_status(await config.topic_hostname(), await config.topic_port())
if status:
placeholders.update({
"I": response['ip'],