mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01: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