Merge remote-tracking branch 'upstream/master'

This commit is contained in:
bri cassa 2022-03-05 11:28:23 +01:00
commit c8ecf77255
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,