Doesn't work: Arrow entities get removed immediately (even before on_activate is called)

Issue #6 resolved
Lars Müller created an issue

This is because max HP probably gets floored to zero. NEVER USE A NON-INTEGER OR ZERO MAX HP!

diff --git a/arrow.lua b/arrow.lua
index 9f4e158..1fc3d88 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)