1
0
forked from MTSR/mapserver

fix error in luac

This commit is contained in:
NatureFreshMilk 2019-06-11 15:02:25 +02:00
parent 922fbee059
commit 2c771ad35e

View File

@ -8,7 +8,7 @@ import (
type LuaControllerBlock struct{} type LuaControllerBlock struct{}
func (this *LuaControllerBlock) onMapObject(x, y, z int, block *mapblockparser.MapBlock) *mapobjectdb.MapObject { 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) nodename := block.GetNodeName(x, y, z)
o := mapobjectdb.NewMapObject(block.Pos, x, y, z, "luacontroller") o := mapobjectdb.NewMapObject(block.Pos, x, y, z, "luacontroller")