forked from MineClone5/MineClone5
Fix mcl_wieldview showing unknown item after login
This commit is contained in:
parent
499f698ba7
commit
ff31e5d480
|
@ -18,9 +18,6 @@ minetest.register_entity("mcl_wieldview:wieldnode", {
|
||||||
collide_with_objects = false,
|
collide_with_objects = false,
|
||||||
static_save = false,
|
static_save = false,
|
||||||
visual_size = {x = 0.21, y = 0.21},
|
visual_size = {x = 0.21, y = 0.21},
|
||||||
|
|
||||||
_item = "",
|
|
||||||
|
|
||||||
on_step = function(self)
|
on_step = function(self)
|
||||||
if not self._wielder or not self._wielder:is_player() then
|
if not self._wielder or not self._wielder:is_player() then
|
||||||
self.object:remove()
|
self.object:remove()
|
||||||
|
|
Loading…
Reference in New Issue