mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-26 10:40:40 +01:00
Remove unused Code
This commit is contained in:
parent
e39493e789
commit
21192ceb57
3
init.lua
3
init.lua
@ -233,9 +233,6 @@ minetest.register_chatcommand("/spiral", {
|
|||||||
minetest.chat_send_player(name, "Invalid usage: " .. param)
|
minetest.chat_send_player(name, "Invalid usage: " .. param)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if axis == "?" then
|
|
||||||
axis = worldedit.player_axis(name)
|
|
||||||
end
|
|
||||||
if not worldedit.node_is_valid(pos, nodename) then
|
if not worldedit.node_is_valid(pos, nodename) then
|
||||||
minetest.chat_send_player(name, "Invalid node name: " .. param)
|
minetest.chat_send_player(name, "Invalid node name: " .. param)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user