From 37b9a8f6bf70ab3fad990b02e468530726c7262b Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 18 Feb 2019 20:59:25 +0100 Subject: [PATCH] Fix incorrect text rotation when sign text updates --- mods/ITEMS/mcl_signs/init.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mods/ITEMS/mcl_signs/init.lua b/mods/ITEMS/mcl_signs/init.lua index 608d1922bf..1b1ede29cc 100644 --- a/mods/ITEMS/mcl_signs/init.lua +++ b/mods/ITEMS/mcl_signs/init.lua @@ -220,13 +220,6 @@ local update_sign = function(pos, fields, sender) x = pos.x + sign_info.delta.x, y = pos.y + sign_info.delta.y, z = pos.z + sign_info.delta.z}, "mcl_signs:text") - if nn == "mcl_signs:standing_sign22_5" then - sign_info.yaw = sign_info.yaw + math.pi / 8 - elseif nn == "mcl_signs:standing_sign45" then - sign_info.yaw = sign_info.yaw + 2 * (math.pi / 8) - elseif nn == "mcl_signs:standing_sign67_5" then - sign_info.yaw = sign_info.yaw + 3 * (math.pi / 8) - end text_entity:get_luaentity()._signnodename = nn text_entity:set_properties({textures={generate_texture(create_lines(text), nn)}})