diff --git a/cmd/autofish/autofish.go b/cmd/autofish/autofish.go index 086f83a..08791dc 100644 --- a/cmd/autofish/autofish.go +++ b/cmd/autofish/autofish.go @@ -1,11 +1,13 @@ package main import ( - "github.com/Tnze/go-mc/bot" - "github.com/Tnze/go-mc/chat" - "github.com/mattn/go-colorable" "log" "time" + + "github.com/Tnze/go-mc/bot" + "github.com/Tnze/go-mc/chat" + _ "github.com/Tnze/go-mc/data/lang/en-us" + "github.com/mattn/go-colorable" ) const timeout = 45 diff --git a/cmd/daze/daze.go b/cmd/daze/daze.go index 87d230d..24ee64d 100644 --- a/cmd/daze/daze.go +++ b/cmd/daze/daze.go @@ -6,8 +6,8 @@ import ( "github.com/Tnze/go-mc/bot" "github.com/Tnze/go-mc/chat" + _ "github.com/Tnze/go-mc/data/lang/en-us" pk "github.com/Tnze/go-mc/net/packet" - // "github.com/Tnze/go-mc/authenticate" ) func main() { diff --git a/cmd/mcadump/mcadump.go b/cmd/mcadump/mcadump.go index fc3df48..7b68b73 100644 --- a/cmd/mcadump/mcadump.go +++ b/cmd/mcadump/mcadump.go @@ -6,11 +6,12 @@ import ( "compress/zlib" "flag" "fmt" - "github.com/Tnze/go-mc/save/region" "io" "io/ioutil" "os" "path/filepath" + + "github.com/Tnze/go-mc/save/region" ) var decomp = flag.Bool("x", false, "decompress each chunk to NBT format") diff --git a/cmd/mcping/mcping.go b/cmd/mcping/mcping.go index fcbb0ca..016bb3f 100644 --- a/cmd/mcping/mcping.go +++ b/cmd/mcping/mcping.go @@ -10,6 +10,7 @@ import ( "github.com/Tnze/go-mc/bot" "github.com/Tnze/go-mc/chat" + _ "github.com/Tnze/go-mc/data/lang/en-us" "github.com/google/uuid" ) diff --git a/cmd/substitute_server/substitute.go b/cmd/substitute_server/substitute.go index 04ef944..2aea7bf 100644 --- a/cmd/substitute_server/substitute.go +++ b/cmd/substitute_server/substitute.go @@ -23,6 +23,7 @@ import ( "github.com/Tnze/go-mc/authenticate" "github.com/Tnze/go-mc/bot" "github.com/Tnze/go-mc/chat" + _ "github.com/Tnze/go-mc/data/lang/en-us" "github.com/Tnze/go-mc/net" "github.com/Tnze/go-mc/net/CFB8" pk "github.com/Tnze/go-mc/net/packet"