mirror of
https://github.com/Dinnerbone/mcstatus.git
synced 2026-04-06 12:01:24 +08:00
Typo
This commit is contained in:
@@ -39,7 +39,7 @@ class MinecraftServer:
|
|||||||
else:
|
else:
|
||||||
raise exception
|
raise exception
|
||||||
|
|
||||||
async def aync_ping(self, tries=3, **kwargs):
|
async def async_ping(self, tries=3, **kwargs):
|
||||||
connection = await TCPAsyncSocketConnection((self.host, self.port))
|
connection = await TCPAsyncSocketConnection((self.host, self.port))
|
||||||
exception = None
|
exception = None
|
||||||
for attempt in range(tries):
|
for attempt in range(tries):
|
||||||
|
|||||||
Reference in New Issue
Block a user