1
0
Fork 0
mirror of https://github.com/sbrl/Minetest-WorldEditAdditions.git synced 2025-03-29 11:04:53 +00:00

add more debug logging

This commit is contained in:
Starbeamrainbowlabs 2023-08-01 00:16:36 +01:00
parent 6231132055
commit 7be2fb125e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 2 additions and 0 deletions
worldeditadditions_core/core/entities

View file

@ -54,6 +54,7 @@ local WEAPositionMarker = {
anchor.set_number(self.object, self.display_number) anchor.set_number(self.object, self.display_number)
end, end,
on_punch = function(self, _) on_punch = function(self, _)
print("DEBUG:pos_marker on_punch")
anchor.delete(self) anchor.delete(self)
end, end,
on_blast = function(self, damage) on_blast = function(self, damage)

View file

@ -53,6 +53,7 @@ local WEAPositionMarkerWall = {
}) })
end, end,
on_punch = function(self, _) on_punch = function(self, _)
print("DEBUG:pos_marker_wall on_punch")
anchor.delete(self) anchor.delete(self)
-- Only unmark the rest of the walls -- Only unmark the rest of the walls
-- Unmark for the player that created this wall.... NOT the player who punched it! -- Unmark for the player that created this wall.... NOT the player who punched it!