format repo with "gofumpt" tool
This commit is contained in:
@ -2,12 +2,13 @@ package offline
|
||||
|
||||
import (
|
||||
"crypto/md5"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
// NameToUUID return the UUID from player name in offline mode
|
||||
func NameToUUID(name string) uuid.UUID {
|
||||
var version = 3
|
||||
version := 3
|
||||
h := md5.New()
|
||||
h.Write([]byte("OfflinePlayer:"))
|
||||
h.Write([]byte(name))
|
||||
|
Reference in New Issue
Block a user