From f590304995df32df2beb24369320be1fa2e3c6f9 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 19 Aug 2023 13:49:13 +0100 Subject: [PATCH] post_marker: comment debug logging --- worldeditadditions_core/core/entities/pos_marker.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/worldeditadditions_core/core/entities/pos_marker.lua b/worldeditadditions_core/core/entities/pos_marker.lua index a63483c..cf008eb 100644 --- a/worldeditadditions_core/core/entities/pos_marker.lua +++ b/worldeditadditions_core/core/entities/pos_marker.lua @@ -33,7 +33,7 @@ local WEAPositionMarker = { on_activate = function(self, staticdata) local data = minetest.parse_json(staticdata) - print("DEBUG:pos_marker ON_ACTIVATE data", data) + -- print("DEBUG:pos_marker ON_ACTIVATE data", data) if type(data) ~= "table" or data.id ~= last_reset then -- print("DEBUG:marker_wall/remove staticdata", staticdata, "last_reset", last_reset) self.object:remove() @@ -55,7 +55,7 @@ local WEAPositionMarker = { anchor.set_number(self.object, self.display_number) end, on_punch = function(self, _) - print("DEBUG:pos_marker on_punch") + -- print("DEBUG:pos_marker on_punch") anchor.delete(self) end, on_blast = function(self, damage) @@ -159,5 +159,5 @@ anchor = EventEmitter.new({ delete = delete, set_number = set_number }) -anchor.debug = true +-- anchor.debug = true return anchor