Run of fresh-snapshots for minetest-mod-throwing-arrows

Merge these changes:

Summary

Merged new upstream version: 1.1+git20201103.1.059cc89 (was: 1.1).

Diff

Branch: main

diff --git a/debian/changelog b/debian/changelog
index 00885f6..4dbb198 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+minetest-mod-throwing-arrows (1.1+git20201103.1.059cc89-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 19 Mar 2022 14:48:46 -0000
+
 minetest-mod-throwing-arrows (1.1-3) unstable; urgency=medium
 
   * Fix typo in homepage.
diff --git a/init.lua b/init.lua
index a6505b3..45fea5b 100644
--- a/init.lua
+++ b/init.lua
@@ -108,7 +108,7 @@ local function arrow_punch(object, hitter, caps)
 	if time_from_last_punch >= (caps.full_punch_interval or 1) then
 		last_punch_times[hitter_name][player_name] = os.time()
 	end
-	object:punch(hitter, time_from_last_punch, caps)
+	object:punch(hitter, time_from_last_punch, caps, nil)
 end
 
 if get_setting("arrow") then
@@ -210,7 +210,7 @@ if get_setting("teleport_arrow") then
 		on_hit_sound = "throwing_teleport_arrow",
 		on_hit = function(self, _, last_pos, _, _, hitter)
 			if minetest.get_node(last_pos).name ~= "air" then
-				minetest.log("warning", S("[throwing] BUG: node at @1 was not air", last_pos))
+				minetest.log("warning", "[throwing] BUG: node at "..minetest.pos_to_string(last_pos).." was not air")
 				return
 			end
 
@@ -232,7 +232,7 @@ if get_setting("fire_arrow") then
 		on_hit_sound = "default_place_node",
 		on_hit = function(self, pos, last_pos, _, _, hitter)
 			if minetest.get_node(last_pos).name ~= "air" then
-				minetest.log(S("warning", "[throwing] BUG: node at @1 was not air", last_pos))
+				minetest.log("warning", "[throwing] BUG: node at "..minetest.pos_to_string(last_pos).." was not air")
 				return
 			end
 
@@ -261,7 +261,7 @@ if get_setting("build_arrow") then
 		on_hit_sound = "throwing_build_arrow",
 		on_hit = function(self, pos, last_pos, _, _, hitter)
 			if minetest.get_node(last_pos).name ~= "air" then
-				minetest.log(S("warning", "[throwing] BUG: node at @1 was not air", last_pos))
+				minetest.log("warning", "[throwing] BUG: node at "..minetest.pos_to_string(last_pos).." was not air")
 				return
 			end
 
diff --git a/locale/template.txt b/locale/template.txt
index 07c2b71..b1bf690 100644
--- a/locale/template.txt
+++ b/locale/template.txt
@@ -23,6 +23,3 @@ Teleport Arrow=
 Torch Arrow=
 Build Arrow=
 Drop Arrow=
-
-## Warnings
-[throwing] BUG: node at @1 was not air=
diff --git a/locale/throwing_arrows.fr.tr b/locale/throwing_arrows.fr.tr
index 53ebc2e..ed9557a 100644
--- a/locale/throwing_arrows.fr.tr
+++ b/locale/throwing_arrows.fr.tr
@@ -23,6 +23,3 @@ Teleport Arrow=Flèche de téléportation
 Torch Arrow=Flèche-torche
 Build Arrow=Flèche de construction
 Drop Arrow=Flèche de livraison
-
-## Warnings
-[throwing] BUG: node at @1 was not air=[throwing] BUG : le bloc à @1 n’était pas de l’air

Branch: pristine-tar

diff --git a/minetest-mod-throwing-arrows_1.1+git20201103.1.059cc89.orig.tar.gz.delta b/minetest-mod-throwing-arrows_1.1+git20201103.1.059cc89.orig.tar.gz.delta
new file mode 100644
index 0000000..bd1f0ab
Binary files /dev/null and b/minetest-mod-throwing-arrows_1.1+git20201103.1.059cc89.orig.tar.gz.delta differ
diff --git a/minetest-mod-throwing-arrows_1.1+git20201103.1.059cc89.orig.tar.gz.id b/minetest-mod-throwing-arrows_1.1+git20201103.1.059cc89.orig.tar.gz.id
new file mode 100644
index 0000000..0983310
--- /dev/null
+++ b/minetest-mod-throwing-arrows_1.1+git20201103.1.059cc89.orig.tar.gz.id
@@ -0,0 +1 @@
+aa01ce41145cce6b85cea2d1f0c3f5c094e2603a

Branch: upstream

Tag: upstream/1.1+git20201103.1.059cc89
diff --git a/init.lua b/init.lua
index a6505b3..45fea5b 100644
--- a/init.lua
+++ b/init.lua
@@ -108,7 +108,7 @@ local function arrow_punch(object, hitter, caps)
 	if time_from_last_punch >= (caps.full_punch_interval or 1) then
 		last_punch_times[hitter_name][player_name] = os.time()
 	end
-	object:punch(hitter, time_from_last_punch, caps)
+	object:punch(hitter, time_from_last_punch, caps, nil)
 end
 
 if get_setting("arrow") then
@@ -210,7 +210,7 @@ if get_setting("teleport_arrow") then
 		on_hit_sound = "throwing_teleport_arrow",
 		on_hit = function(self, _, last_pos, _, _, hitter)
 			if minetest.get_node(last_pos).name ~= "air" then
-				minetest.log("warning", S("[throwing] BUG: node at @1 was not air", last_pos))
+				minetest.log("warning", "[throwing] BUG: node at "..minetest.pos_to_string(last_pos).." was not air")
 				return
 			end
 
@@ -232,7 +232,7 @@ if get_setting("fire_arrow") then
 		on_hit_sound = "default_place_node",
 		on_hit = function(self, pos, last_pos, _, _, hitter)
 			if minetest.get_node(last_pos).name ~= "air" then
-				minetest.log(S("warning", "[throwing] BUG: node at @1 was not air", last_pos))
+				minetest.log("warning", "[throwing] BUG: node at "..minetest.pos_to_string(last_pos).." was not air")
 				return
 			end
 
@@ -261,7 +261,7 @@ if get_setting("build_arrow") then
 		on_hit_sound = "throwing_build_arrow",
 		on_hit = function(self, pos, last_pos, _, _, hitter)
 			if minetest.get_node(last_pos).name ~= "air" then
-				minetest.log(S("warning", "[throwing] BUG: node at @1 was not air", last_pos))
+				minetest.log("warning", "[throwing] BUG: node at "..minetest.pos_to_string(last_pos).." was not air")
 				return
 			end
 
diff --git a/locale/template.txt b/locale/template.txt
index 07c2b71..b1bf690 100644
--- a/locale/template.txt
+++ b/locale/template.txt
@@ -23,6 +23,3 @@ Teleport Arrow=
 Torch Arrow=
 Build Arrow=
 Drop Arrow=
-
-## Warnings
-[throwing] BUG: node at @1 was not air=
diff --git a/locale/throwing_arrows.fr.tr b/locale/throwing_arrows.fr.tr
index 53ebc2e..ed9557a 100644
--- a/locale/throwing_arrows.fr.tr
+++ b/locale/throwing_arrows.fr.tr
@@ -23,6 +23,3 @@ Teleport Arrow=Flèche de téléportation
 Torch Arrow=Flèche-torche
 Build Arrow=Flèche de construction
 Drop Arrow=Flèche de livraison
-
-## Warnings
-[throwing] BUG: node at @1 was not air=[throwing] BUG : le bloc à @1 n’était pas de l’air

Publish Blockers

  • ☑ run was successful
  • ☑ package has not been removed from the archive
  • ☑ command has not changed
  • ☒ not yet reviewed, but review needed
  • ☑ 0 publish attempts so far.not currently attempting to back off
  • ☒ merge proposals for the package maintainer are currently being rate-limited (open: 1257, max open: 300)
  • ☑ change set a129b803-fb48-4455-a289-9353dd664080 is ready

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots minetest-mod-throwing-arrows

Lintian Result

Full worker log Full build log