Closed Dasciam closed 1 month ago
The problem is in the following code: https://github.com/Sandertv/gophertunnel/blob/3c4144b2130899ef2249c438540c27908d2f5a37/minecraft/dial.go#L289 https://github.com/Sandertv/gophertunnel/blob/3c4144b2130899ef2249c438540c27908d2f5a37/minecraft/conn.go#L443 https://github.com/Sandertv/gophertunnel/blob/3c4144b2130899ef2249c438540c27908d2f5a37/minecraft/listener.go#L278
Calling errors.Is() always returns false, because of this, panic is spawned every time a player leaves the server
Could you try commit 7270e9e and see if this still happens?
Issue still exists
All works good. Sorry for misleading...
The problem is in the following code: https://github.com/Sandertv/gophertunnel/blob/3c4144b2130899ef2249c438540c27908d2f5a37/minecraft/dial.go#L289 https://github.com/Sandertv/gophertunnel/blob/3c4144b2130899ef2249c438540c27908d2f5a37/minecraft/conn.go#L443 https://github.com/Sandertv/gophertunnel/blob/3c4144b2130899ef2249c438540c27908d2f5a37/minecraft/listener.go#L278
Calling errors.Is() always returns false, because of this, panic is spawned every time a player leaves the server