From 6bc35605e5e206f14a0fcd3832841a401b0501ac Mon Sep 17 00:00:00 2001 From: "Robert \"Red\" English" Date: Fri, 12 Apr 2013 23:16:49 -0300 Subject: [PATCH] Fixed Host Error in mctools.py --- plugins/mctools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mctools.py b/plugins/mctools.py index 228512f..c47d11c 100755 --- a/plugins/mctools.py +++ b/plugins/mctools.py @@ -126,8 +126,8 @@ def mcping(inp): else: try: getdata = srvData(inp) - host = inp - port = getdata[0] + host = str(getdata[1]) + port = int(getdata[0]) except: host = inp port = 25565