update cmd/... for new chat package
This commit is contained in:
@ -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
|
||||
|
@ -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() {
|
||||
|
@ -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")
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user