From 25b12ece1f2268a08fd581be9c8d4dc8ef712eae Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Wed, 5 Oct 2022 16:10:28 -0400 Subject: [PATCH] 6 Prevent flooring hp_max to zero value --- arrow.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow.lua b/arrow.lua index 9f4e158..0709520 100644 --- a/arrow.lua +++ b/arrow.lua @@ -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)