Set proper armor group for experimental:tnt

master
Perttu Ahola 2012-03-09 20:53:54 +02:00
parent 8db89b8136
commit 6b7d6c27ee
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ function TNT:on_activate(staticdata)
self.object:setvelocity({x=0, y=4, z=0}) self.object:setvelocity({x=0, y=4, z=0})
self.object:setacceleration({x=0, y=-10, z=0}) self.object:setacceleration({x=0, y=-10, z=0})
self.object:settexturemod("^[brighten") self.object:settexturemod("^[brighten")
self.object:set_armor_groups({foo=1,bar=2}) self.object:set_armor_groups({immortal=1})
end end
-- Called periodically -- Called periodically