Move assets to its own folder

This commit is contained in:
Jacob Gunther
2023-07-20 13:37:45 -05:00
parent 17948164fd
commit d814d6bd05
6 changed files with 15 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ import (
"encoding/base64"
"encoding/json"
"fmt"
"main/src/assets"
"strconv"
"strings"
"sync"
@@ -210,7 +211,7 @@ func GetServerIcon(host string, port uint16) ([]byte, time.Duration, error) {
return cache, ttl, err
}
icon := defaultIconBytes
icon := assets.DefaultIcon
status, err := mcutil.Status(host, port)