forked from MineClone5/MineClone5
Merge pull request 'Fix mcl_wieldview showing unknown item after login' (#319) from MrRar/MineClone5:wieldview into master
Reviewed-on: MineClone5/MineClone5#319 Reviewed-by: cora <cora@noreply.git.minetest.land>
This commit is contained in:
commit
a7d3faee47
|
@ -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