From 7a90623480048f5ae3a39d1d181f2514c29d2d59 Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Wed, 3 May 2017 23:15:14 -0700 Subject: [PATCH] [unifieddyes] Upgrade to patched commit df3f1b1: https://github.com/AntumDeluge/mtmod-unifieddyes/commit/df3f1b1 --- README.md | 3 ++- mods/materials/unifieddyes/init.lua | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 267a660b..1ffc094d 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m * [moreores][] ([zlib/CC-BY-SA](mods/materials/moreores/README.md)) * [quartz][] ([MIT](mods/materials/quartz/LICENSE.txt)) * [rainbow_ore][] ([LGPL][lic.rainbow_ore]) -- version: [6e77693 Git][ver.rainbow_ore] ([patched][patch.rainbow_ore]) - * [unifieddyes][] ([GPL](mods/materials/unifieddyes/LICENSE)) -- version: [df177c2 Git][ver.unifieddyes] + * [unifieddyes][] ([GPL](mods/materials/unifieddyes/LICENSE)) -- version: [df177c2 Git][ver.unifieddyes] ([patched][patch.unifieddyes]) * mobs/ * [kpgmobs][] ([MIT](mods/mobs/kpgmobs/README.txt)) * [mobs_redo][] ([MIT](mods/mobs/mobs_redo/license.txt)) -- version: [e64530a Git][ver.mobs_redo] @@ -380,3 +380,4 @@ The game includes the mods from the default [minetest_game](https://github.com/m [patch.ethereal]: https://github.com/AntumDeluge/minetest-mod-ethereal/commit/2714ad4 [patch.helicopter]: https://github.com/AntumDeluge/mtmod-helicopter/commit/66a6523 [patch.rainbow_ore]: https://github.com/AntumDeluge/mtmod-rainbow_ore/commit/60dc35e +[patch.unifieddyes]: https://github.com/AntumDeluge/mtmod-unifieddyes/commit/df3f1b1 diff --git a/mods/materials/unifieddyes/init.lua b/mods/materials/unifieddyes/init.lua index 9b85903b..e91f7272 100644 --- a/mods/materials/unifieddyes/init.lua +++ b/mods/materials/unifieddyes/init.lua @@ -207,7 +207,7 @@ end) function unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing) local node = minetest.get_node(pos) - local yaw = placer:get_look_yaw() + local yaw = placer:get_look_horizontal() local dir = minetest.yaw_to_dir(yaw-1.5) local pitch = placer:get_look_vertical() @@ -226,7 +226,7 @@ end function unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing) local node = minetest.get_node(pos) - local yaw = placer:get_look_yaw() + local yaw = placer:get_look_horizontal() local dir = minetest.yaw_to_dir(yaw) local fdir = minetest.dir_to_wallmounted(dir) minetest.swap_node(pos, { name = node.name, param2 = fdir })