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 5ee1614 commit 2b50d83Copy full SHA for 2b50d83
src/MinecraftPing.php
@@ -67,6 +67,8 @@ public function Connect( )
67
68
if( !$this->Socket )
69
{
70
+ $this->Socket = null;
71
+
72
throw new MinecraftPingException( "Failed to connect or create a socket: $errno ($errstr)" );
73
}
74
0 commit comments