From ee23be105f051a6de950cb09bddc56170496f5a1 Mon Sep 17 00:00:00 2001 From: Tnze Date: Thu, 9 Jul 2020 14:07:10 +0800 Subject: [PATCH] Deleted is deleted --- README.md | 2 +- bot/client.go | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e984cae..1e36f73 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Go-MC -![Version](https://img.shields.io/badge/Minecraft-1.15.2-blue.svg) +![Version](https://img.shields.io/badge/Minecraft-1.16.1-blue.svg) ![Protocol](https://img.shields.io/badge/Protocol-578-blue.svg) [![GoDoc](https://godoc.org/github.com/Tnze/go-mc?status.svg)](https://godoc.org/github.com/Tnze/go-mc) [![Go Report Card](https://goreportcard.com/badge/github.com/Tnze/go-mc)](https://goreportcard.com/report/github.com/Tnze/go-mc) diff --git a/bot/client.go b/bot/client.go index 1a28952..fdff6c1 100644 --- a/bot/client.go +++ b/bot/client.go @@ -49,11 +49,10 @@ func NewClient() (c *Client) { //PlayInfo content player info in server. type PlayInfo struct { - Gamemode int //游戏模式 - Hardcore bool //是否是极限模式 - Dimension int //维度 - Difficulty int //难度 - // LevelType string //地图类型 1.16删了 + Gamemode int //游戏模式 + Hardcore bool //是否是极限模式 + Dimension int //维度 + Difficulty int //难度 ViewDistance int //视距 ReducedDebugInfo bool //减少调试信息 WorldName string //当前世界的名字