]> git.lizzy.rs Git - worldedit.git/commitdiff
Fix typo (thanks donat-b!).
authorUberi <azhang9@gmail.com>
Tue, 5 Aug 2014 22:34:13 +0000 (18:34 -0400)
committerUberi <azhang9@gmail.com>
Tue, 5 Aug 2014 22:34:43 +0000 (18:34 -0400)
worldedit_gui/functionality.lua

index f331d4db76d4049e3f58685747ee792746480d20..620f6c4a9643541d2fed21f462592e4dd5510299 100644 (file)
@@ -360,7 +360,7 @@ worldedit.register_gui_function("worldedit_gui_copy_move", {
 \r
 worldedit.register_gui_handler("worldedit_gui_copy_move", function(name, fields)\r
        if fields.worldedit_gui_copy_move_copy or fields.worldedit_gui_copy_move_move then\r
-               gui_axis1[name] = axis_indices[fields.worldedit_gui_cylinder_axis] or 4\r
+               gui_axis1[name] = axis_indices[fields.worldedit_gui_copy_move_axis] or 4\r
                gui_distance1[name] = tostring(fields.worldedit_gui_copy_move_amount)\r
                worldedit.show_page(name, "worldedit_gui_copy_move")\r
                if fields.worldedit_gui_copy_move_copy then\r