forked from Mirrorlandia_minetest/minetest
Fix /builtin/misc.lua:47: attempt to call method 'is_player' (a nil value)
This commit is contained in:
parent
48790c0751
commit
02fb912a95
@ -2955,6 +2955,7 @@ const luaL_reg ObjectRef::methods[] = {
|
|||||||
method(ObjectRef, get_entity_name),
|
method(ObjectRef, get_entity_name),
|
||||||
method(ObjectRef, get_luaentity),
|
method(ObjectRef, get_luaentity),
|
||||||
// Player-only
|
// Player-only
|
||||||
|
method(ObjectRef, is_player),
|
||||||
method(ObjectRef, get_player_name),
|
method(ObjectRef, get_player_name),
|
||||||
method(ObjectRef, get_look_dir),
|
method(ObjectRef, get_look_dir),
|
||||||
method(ObjectRef, get_look_pitch),
|
method(ObjectRef, get_look_pitch),
|
||||||
|
Loading…
Reference in New Issue
Block a user