From 57369099a7b8e5a978810275776e8050cff22525 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Wed, 28 Jul 2021 10:15:03 -0700 Subject: [PATCH] Update basename.lua --- worldeditadditions_commands/commands/extra/basename.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions_commands/commands/extra/basename.lua b/worldeditadditions_commands/commands/extra/basename.lua index 39d92b5..6d247bb 100644 --- a/worldeditadditions_commands/commands/extra/basename.lua +++ b/worldeditadditions_commands/commands/extra/basename.lua @@ -15,6 +15,6 @@ worldedit.register_command("basename", { end, func = function(name, params_text) if name == nil then return end - worldedit.player_notify(name, worldedit.normalize_nodename(params_text) or 'Error 404: "'..params_text..'" not found!') + return true, worldedit.normalize_nodename(params_text) or 'Error 404: "'..params_text..'" not found!' end })