player_api: Prevent knockback when player is set as attached
This is not directly related to player models but fits well as a convenience feature in player_api.
This commit is contained in:
parent
b9dc758fef
commit
fbbc7fc996
3 changed files with 20 additions and 2 deletions
|
@ -20,5 +20,8 @@ read_globals = {
|
|||
-- Overwrites minetest.handle_node_drops
|
||||
files["mods/creative/init.lua"].globals = { "minetest" }
|
||||
|
||||
-- Overwrites minetest.calculate_knockback
|
||||
files["mods/player_api/api.lua"].globals = { "minetest" }
|
||||
|
||||
-- Don't report on legacy definitions of globals.
|
||||
files["mods/default/legacy.lua"].global = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue