Fix deprecation warnings in wield3d
parent
7841d8f76d
commit
3f6c1bc55b
|
@ -1,6 +0,0 @@
|
|||
## Generic ignorable patterns and files
|
||||
*~
|
||||
.*.swp
|
||||
*bak*
|
||||
tags
|
||||
*.vim
|
|
@ -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.
|
|
@ -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 |
Loading…
Reference in New Issue