From 9f5a9f807766453fbebb1e8a2f1045a040db0635 Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Mon, 13 Sep 2021 10:45:59 +0200 Subject: [PATCH] Parenthesise protocol constants (anon5) --- proxy.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/proxy.go b/proxy.go index c3da9d4..cde7cee 100644 --- a/proxy.go +++ b/proxy.go @@ -4,9 +4,11 @@ It also provides an API for plugins. */ package proxy -const latestSerializeVer = 28 -const latestProtoVer = 39 -const versionString = "5.5.0-dev-83a7b48bb" -const maxPlayerNameLen = 20 -const playerNameChars = "^[a-zA-Z0-9-_]+$" -const bytesPerMediaBunch = 5000 +const ( + latestSerializeVer = 28 + latestProtoVer = 39 + versionString = "5.5.0-dev-83a7b48bb" + maxPlayerNameLen = 20 + playerNameChars = "^[a-zA-Z0-9-_]+$" + bytesPerMediaBunch = 5000 +)