Fix examples.

Fix Die event trigger incorrectly issue.
This commit is contained in:
Tnze
2021-02-18 17:42:19 +08:00
parent d6b5accdc8
commit 67a7b42a01
4 changed files with 12 additions and 5 deletions

View File

@ -24,7 +24,7 @@ func main() {
c = bot.NewClient()
//Login
err := c.JoinServer("localhost", 25565)
err := c.JoinServer("127.0.0.1")
if err != nil {
log.Fatal(err)
}