6 Prevent flooring hp_max to zero value

This commit is contained in:
Juraj Vajda 2022-10-05 16:10:28 -04:00
parent d57d5b0cf3
commit 25b12ece1f

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)