Fix deprecation warnings in wield3d

master
ROllerozxa 2021-08-02 22:07:56 +02:00
parent 7841d8f76d
commit 3f6c1bc55b
4 changed files with 1 additions and 9 deletions

View File

@ -1,6 +0,0 @@
## Generic ignorable patterns and files
*~
.*.swp
*bak*
tags
*.vim

View File

@ -1,2 +0,0 @@
Visible 3d wielded items for Minetest.
Adds 3d wield-items that are visible in third person view and to other players.

View File

@ -16,7 +16,7 @@ local location = {
local function add_wield_entity(player)
local name = player:get_player_name()
local pos = player:getpos()
local pos = player:get_pos()
if name and pos then
pos.y = pos.y + 0.5
local object = minetest.add_entity(pos, "wield3d:wield_entity")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB