diff --git a/README.md b/README.md index 4e752be..8809d7b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Pyramids (with Treasurer support) [`tsm_pyramids`] -* Version: 1.0.2 +* Version: 1.0.3 ## Description This is a mod for Minetest Game which adds randomly spawned pyramids in deserts and diff --git a/mummy.lua b/mummy.lua index 1d3c046..4364cce 100644 --- a/mummy.lua +++ b/mummy.lua @@ -151,7 +151,7 @@ MUMMY_DEF.on_punch = function(self, puncher, time_from_last_punch, tool_capabili end self.attacker = puncher - if damage > 0 then + if damage and damage > 0 then self.last_damage = { type = "punch", puncher = puncher,