From c0a7feb28c4a69e50f2b0ecfbbbd1fb67979c8a3 Mon Sep 17 00:00:00 2001 From: Tnze Date: Tue, 21 Jun 2022 17:44:15 +0800 Subject: [PATCH] 1.19 client can display the chunks from server now --- server/keepalive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/keepalive.go b/server/keepalive.go index 244caf9..42ff727 100644 --- a/server/keepalive.go +++ b/server/keepalive.go @@ -36,7 +36,7 @@ type KeepAlive struct { updatePlayerDelay []func(p KeepAliveClient, delay time.Duration) } -func NewKeepAlive[C KeepAliveClient]() (k *KeepAlive) { +func NewKeepAlive() (k *KeepAlive) { return &KeepAlive{ join: make(chan KeepAliveClient), quit: make(chan KeepAliveClient),