]> git.lizzy.rs Git - xdecor.git/blobdiff - hive.lua
Small simplifications
[xdecor.git] / hive.lua
index 518c6fe344672854880842f3e20f52ef514b4781..40c18573753ed5153032b0639b61276c24a79eaf 100644 (file)
--- a/hive.lua
+++ b/hive.lua
@@ -31,7 +31,7 @@ xdecor.register("hive", {
                return minetest.get_meta(pos):get_inventory():is_empty("honey")
        end,
        on_punch = function(_, _, puncher)
-               puncher:set_hp(puncher:get_hp()-4)
+               puncher:set_hp(puncher:get_hp() - 2)
        end,
        allow_metadata_inventory_put = function() return 0 end
 })