diff --git a/cmd/rbxcompiler/rbxcompiler.go b/cmd/rbxcompiler/rbxcompiler.go index 60a6590..9fd54f9 100644 --- a/cmd/rbxcompiler/rbxcompiler.go +++ b/cmd/rbxcompiler/rbxcompiler.go @@ -60,6 +60,12 @@ func build() { rbxcookie = strings.Replace(string(data), "\n", "", -1) } + if rbxcookie == "" { + fmt.Printf("No roblox cookie provided\n") + os.Exit(1) + return + } + rbx, err := roblox.New(rbxcookie) if err != nil { fmt.Printf("Failed to start roblox api client: %s\n", err)