mirror of
https://notabug.org/TenPlus1/protector.git
synced 2025-01-09 17:37:35 +01:00
use 0.4.16 functions
This commit is contained in:
parent
8159e85eca
commit
4e969981e0
2
init.lua
2
init.lua
@ -302,7 +302,7 @@ function minetest.is_protected(pos, digger)
|
||||
|
||||
if pos.y < pla_pos.y then
|
||||
|
||||
player:setpos({
|
||||
player:set_pos({
|
||||
x = pla_pos.x,
|
||||
y = pla_pos.y + 0.8,
|
||||
z = pla_pos.z
|
||||
|
Loading…
Reference in New Issue
Block a user