stujones11 / shooter

First Person Shooter Mod for Minetest
Other
30 stars 18 forks source link

Guns don't seem to harm mobs #49

Closed VanessaE closed 4 years ago

VanessaE commented 4 years ago

I have this on one of my servers, and players report that guns don't seem to harm the mobs from @TenPlus1's mobs redo.

ClobberXD commented 4 years ago

https://github.com/stujones11/shooter/blob/cfb3818b09cc013c8aa84c4baa1253e90d8e6384/shooter/api.lua#L24-L38

Entity damage is disabled by default. Adding the following line to minetest.conf should work:

shooter_allow_entities = true

https://github.com/stujones11/shooter/blob/cfb3818b09cc013c8aa84c4baa1253e90d8e6384/shooter/api.lua#L142-L155