6 Prevent flooring hp_max to zero value

This commit is contained in:
Juraj Vajda 2022-10-05 20:16:07 +00:00
commit 50eab4ef13

View File

@ -93,7 +93,7 @@ minetest.register_entity('x_bows:arrow_entity', {
selectionbox = {0, 0, 0, 0, 0, 0},
physical = false,
textures = {'air'},
hp_max = 0.5
hp_max = 1
},
on_activate = function(self, staticdata)