This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository minetest-mod-nether.

commit 92844b7e5c0a2fe8c9d599c937474754afc35de3
Author: Julien Puydt <[email protected]>
Date:   Thu Oct 5 22:48:33 2017 +0200

    Add patch to update config api
---
 debian/changelog                       |  1 +
 debian/patches/series                  |  1 +
 debian/patches/update_config_api.patch | 15 +++++++++++++++
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7560acc..097a04a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ minetest-mod-nether (2-3) UNRELEASED; urgency=medium
 
   * Bump std-ver to 4.1.1.
   * Bump d/watch to version 4.
+  * Add patch to update the config api.
 
  -- Julien Puydt <[email protected]>  Thu, 05 Oct 2017 22:38:03 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ff133cb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+update_config_api.patch
diff --git a/debian/patches/update_config_api.patch 
b/debian/patches/update_config_api.patch
new file mode 100644
index 0000000..2669e27
--- /dev/null
+++ b/debian/patches/update_config_api.patch
@@ -0,0 +1,15 @@
+Description: update the config api use
+Author: Julien Puydt
+Forwarded: https://github.com/PilzAdam/nether/issues/28
+
+--- a/init.lua
++++ b/init.lua
+@@ -503,7 +503,7 @@
+       on_place = function(stack, _, pt)
+               if pt.under and minetest.get_node(pt.under).name == 
"default:obsidian" then
+                       local done = make_portal(pt.under)
+-                      if done and not 
minetest.setting_getbool("creative_mode") then
++                      if done and not 
minetest.settings:get_bool("creative_mode") then
+                               stack:take_item()
+                       end
+               end

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/minetest-mod-nether.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to