Add files via upload

master
AiTechEye 2020-10-18 18:33:26 +02:00 committed by GitHub
parent 1818105580
commit 399d040e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ vexcazer_schematic.a=function(itemstack, user, pointed_thing,input,typ)
u.p = u.p or 1
local up = user:get_pos()
up.y = up.y +1
pos = vector.floor(up)
pos = vector.round(up)
u["pos"..u.p] = pos
end
@ -220,7 +220,7 @@ vexcazer.registry_mode({
if pointed_thing.type == "node" then
minetest.place_schematic(pointed_thing.under, u.path,"random",nil,false,"place_center_x,place_center_z")
else
minetest.place_schematic(vector.floor(user:get_pos()), u.path,"random",nil,false,"place_center_x,place_center_z")
minetest.place_schematic(vector.round(user:get_pos()), u.path,"random",nil,false,"place_center_x,place_center_z")
end
end
end