From 9c249be393005fbc1e16e0146085c3bd8ab70872 Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Tue, 11 Jun 2019 15:02:25 +0200 Subject: [PATCH] fix error in luac --- server/mapobject/luacontroller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mapobject/luacontroller.go b/server/mapobject/luacontroller.go index e15e85a..a846d51 100644 --- a/server/mapobject/luacontroller.go +++ b/server/mapobject/luacontroller.go @@ -8,7 +8,7 @@ import ( type LuaControllerBlock struct{} func (this *LuaControllerBlock) onMapObject(x, y, z int, block *mapblockparser.MapBlock) *mapobjectdb.MapObject { - md := block.Metadata.GetMetadata(x, y, z) + //md := block.Metadata.GetMetadata(x, y, z) nodename := block.GetNodeName(x, y, z) o := mapobjectdb.NewMapObject(block.Pos, x, y, z, "luacontroller")