From de4add837a0d86117918ea1c01a9fbaea598bf6a Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Tue, 14 Jan 2020 12:42:40 +0100 Subject: [PATCH] go fmt --- mapblockparser/metadata.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mapblockparser/metadata.go b/mapblockparser/metadata.go index d52f075..681591a 100644 --- a/mapblockparser/metadata.go +++ b/mapblockparser/metadata.go @@ -103,13 +103,13 @@ func parseMetadata(mapblock *MapBlock, data []byte) (int, error) { pairsMap[key] = value priv := 0 - if version >=2 { /* private tag doesn't exist in version=1 */ + if version >= 2 { /* private tag doesn't exist in version=1 */ priv = readU8(metadata, offset) - offset ++ + offset++ } if priv != 0 { // do something usefull - logrus.Info ("Private items in Inventory") + logrus.Info("Private items in Inventory") } }