From a0982c70f06cad5b3918185464d34f57d3229425 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Fri, 20 May 2022 19:29:01 -0700 Subject: [PATCH] check_dir update (unification) --- worldeditadditions/lib/selection/selection.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions/lib/selection/selection.lua b/worldeditadditions/lib/selection/selection.lua index a1e5ed0..c4fdc0c 100644 --- a/worldeditadditions/lib/selection/selection.lua +++ b/worldeditadditions/lib/selection/selection.lua @@ -71,7 +71,7 @@ end -- @param str string String to check (be sure to remove any + or -). -- @return bool If string is a valid dir then true. function selection.check_dir(str) - return (str == "front" or str == "back" or str == "left" or str == "right" or str == "up" or str == "down") + return (str == "facing" or str == "front" or str == "back" or str == "left" or str == "right" or str == "up" or str == "down") end return selection