remove color print support of autofish

This commit is contained in:
Tnze
2019-08-11 11:22:26 +08:00
parent 6ed67477c7
commit 78a50b7160

View File

@ -7,7 +7,7 @@ import (
"github.com/Tnze/go-mc/bot" "github.com/Tnze/go-mc/bot"
"github.com/Tnze/go-mc/chat" "github.com/Tnze/go-mc/chat"
_ "github.com/Tnze/go-mc/data/lang/en-us" _ "github.com/Tnze/go-mc/data/lang/en-us"
"github.com/mattn/go-colorable" //"github.com/mattn/go-colorable" // this package is nice but cannot get in china mainland because it import golang.org/x/sys
) )
const timeout = 45 const timeout = 45
@ -18,7 +18,7 @@ var (
) )
func main() { func main() {
log.SetOutput(colorable.NewColorableStdout()) //log.SetOutput(colorable.NewColorableStdout())
c = bot.NewClient() c = bot.NewClient()
//Login //Login