Separate player code into new mod
This commit is contained in:
parent
7ffd176f48
commit
5d19fd6923
16 changed files with 122 additions and 99 deletions
|
@ -23,3 +23,14 @@ LIGHT_MAX = default.LIGHT_MAX
|
|||
|
||||
-- Formspecs
|
||||
default.gui_suvival_form = default.gui_survival_form
|
||||
|
||||
-- Players
|
||||
if minetest.get_modpath("player_api") then
|
||||
default.registered_player_models = player_api.registered_models
|
||||
default.player_register_model = player_api.register_model
|
||||
default.player_attached = player_api.player_attached
|
||||
default.player_get_animation = player_api.get_animation
|
||||
default.player_set_model = player_api.set_model
|
||||
default.player_set_textures = player_api.set_textures
|
||||
default.player_set_animation = player_api.set_animation
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue