File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -398,10 +398,7 @@ minetest.register_chatcommand("/set", {
398
398
privs = {worldedit = true },
399
399
func = safe_region (function (name , param )
400
400
local node = get_node (name , param )
401
- if not node then
402
- worldedit .player_notify (name , " Could not identify node \" " .. param .. " \" " )
403
- return
404
- end
401
+ if not node then return end
405
402
406
403
local count = worldedit .set (worldedit .pos1 [name ], worldedit .pos2 [name ], node )
407
404
worldedit .player_notify (name , count .. " nodes set" )
@@ -435,10 +432,7 @@ minetest.register_chatcommand("/mix", {
435
432
local nodes = {}
436
433
for nodename in param :gmatch (" [^%s]+" ) do
437
434
local node = get_node (name , nodename )
438
- if not node then
439
- worldedit .player_notify (name , " Could not identify node \" " .. name .. " \" " )
440
- return
441
- end
435
+ if not node then return end
442
436
nodes [# nodes + 1 ] = node
443
437
end
444
438
You can’t perform that action at this time.
0 commit comments