We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5fd569 commit 0622a02Copy full SHA for 0622a02
1 file changed
minecraft/rcon.py
@@ -55,7 +55,7 @@ def replace_color_tag(text: str) -> str:
55
def command_execute(command: str) -> Union[str, List[str]]:
56
try:
57
with MCRcon(
58
- getenv("rcon_host"), getenv("rcon_password"), getenv("rcon_port")
+ getenv("rcon_host"), getenv("rcon_password"), int(getenv("rcon_port"))
59
) as mcr:
60
mcr.connect()
61
response = mcr.command(command)
0 commit comments