@@ -9,20 +9,20 @@ import (
99
1010type ATM struct {}
1111
12- func (this * ATM ) onMapObject (mbpos * types.MapBlockCoords , x , y , z int , block * mapparser.MapBlock ) * mapobjectdb.MapObject {
12+ func (atm * ATM ) onMapObject (mbpos * types.MapBlockCoords , x , y , z int , block * mapparser.MapBlock ) * mapobjectdb.MapObject {
1313 nodename := block .GetNodeName (x , y , z )
1414
1515 o := mapobjectdb .NewMapObject (mbpos , x , y , z , "atm" )
1616
1717 switch nodename {
18- case "atm:wtt" , "um_wtt:wtt" :
19- o .Attributes ["type" ] = "wiretransfer"
20- case "atm:atm2" , "um_atm:atm_2" :
21- o .Attributes ["type" ] = "atm2"
22- case "atm:atm3" , "um_atm:atm_3" :
23- o .Attributes ["type" ] = "atm3"
24- default :
25- o .Attributes ["type" ] = "atm"
18+ case "atm:wtt" , "um_wtt:wtt" :
19+ o .Attributes ["type" ] = "wiretransfer"
20+ case "atm:atm2" , "um_atm:atm_2" :
21+ o .Attributes ["type" ] = "atm2"
22+ case "atm:atm3" , "um_atm:atm_3" :
23+ o .Attributes ["type" ] = "atm3"
24+ default :
25+ o .Attributes ["type" ] = "atm"
2626 }
2727
2828 return o
0 commit comments