mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-04 16:35:03 -05:00
Set proper armor group for experimental:tnt
This commit is contained in:
parent
8db89b8136
commit
6b7d6c27ee
@ -330,7 +330,7 @@ function TNT:on_activate(staticdata)
|
||||
self.object:setvelocity({x=0, y=4, z=0})
|
||||
self.object:setacceleration({x=0, y=-10, z=0})
|
||||
self.object:settexturemod("^[brighten")
|
||||
self.object:set_armor_groups({foo=1,bar=2})
|
||||
self.object:set_armor_groups({immortal=1})
|
||||
end
|
||||
|
||||
-- Called periodically
|
||||
|
Loading…
Reference in New Issue
Block a user