forked from MTSR/mapserver
fix error in luac
This commit is contained in:
parent
922fbee059
commit
2c771ad35e
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user