forked from VoxeLibre/VoxeLibre
Round pos in spawnstruct chatcommand
This commit is contained in:
parent
4a7aaa9024
commit
b3e1df7e9b
|
@ -467,6 +467,7 @@ minetest.register_chatcommand("spawnstruct", {
|
||||||
if not pos then
|
if not pos then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
pos = vector.round(pos)
|
||||||
local errord = false
|
local errord = false
|
||||||
local message = S("Structure placed.")
|
local message = S("Structure placed.")
|
||||||
if param == "village" then
|
if param == "village" then
|
||||||
|
|
Loading…
Reference in New Issue