Skip to content

Commit

Permalink
Revert "main.go: Try to enable the client cache."
Browse files Browse the repository at this point in the history
This reverts commit cea9db3.
  • Loading branch information
JustTalDevelops committed Mar 23, 2023
1 parent cea9db3 commit b0422d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ func main() {
// handleConn handles a new incoming minecraft.Conn from the minecraft.Listener passed.
func handleConn(conn *minecraft.Conn, listener *minecraft.Listener, config config, src oauth2.TokenSource) {
serverConn, err := minecraft.Dialer{
TokenSource: src,
ClientData: conn.ClientData(),
EnableClientCache: conn.ClientCacheEnabled(),
TokenSource: src,
ClientData: conn.ClientData(),
}.Dial("raknet", config.Connection.RemoteAddress)
if err != nil {
panic(err)
Expand Down

0 comments on commit b0422d9

Please sign in to comment.