diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/scriptapi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index cf2a01c64..f06485458 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -2955,6 +2955,7 @@ const luaL_reg ObjectRef::methods[] = { method(ObjectRef, get_entity_name), method(ObjectRef, get_luaentity), // Player-only + method(ObjectRef, is_player), method(ObjectRef, get_player_name), method(ObjectRef, get_look_dir), method(ObjectRef, get_look_pitch), |