diff --git a/api.lua b/api.lua index 70d8974..7e66047 100644 --- a/api.lua +++ b/api.lua @@ -25,7 +25,7 @@ local use_cmi = minetest.global_exists("cmi") mobs = { mod = "redo", - version = "20221128", + version = "20221213", intllib = S, invis = minetest.global_exists("invisibility") and invisibility or {} } @@ -4424,7 +4424,9 @@ function mobs:force_capture(self, clicker) if t ~= "function" and t ~= "nil" - and t ~= "userdata" then + and t ~= "userdata" + and _ ~= "object" + and _ ~= "_cmi_components" then tmp[_] = self[_] end end @@ -4538,7 +4540,9 @@ function mobs:capture_mob(self, clicker, chance_hand, chance_net, if t ~= "function" and t ~= "nil" - and t ~= "userdata" then + and t ~= "userdata" + and _ ~= "object" + and _ ~= "_cmi_components" then tmp[_] = self[_] end end diff --git a/license.txt b/license.txt index 776a75f..8bde134 100644 --- a/license.txt +++ b/license.txt @@ -23,5 +23,15 @@ THE SOFTWARE. Textures under CC0 license by TenPlus1 + ShadowNinja (CC BY-SA 3.0): tnt_smoke.png + +mobs_swing.ogg by qubodup (CC0) + - http://freesound.org/people/qubodup/sounds/60012/ + +mobs_spell.ogg by littlerobotsoundfactory (CC0) + - http://freesound.org/people/LittleRobotSoundFactory/sounds/270396/ + +mobs_punch.ogg by Merrick079 (CC0) + - https://freesound.org/people/Merrick079/sounds/566436/ diff --git a/sounds/license.txt b/sounds/license.txt deleted file mode 100644 index acf8d1c..0000000 --- a/sounds/license.txt +++ /dev/null @@ -1,10 +0,0 @@ -Creative Commons 0 sounds from Freesound.org - -mobs_swing.ogg by qubodup - - http://freesound.org/people/qubodup/sounds/60012/ - -mobs_spell.ogg by littlerobotsoundfactory - - http://freesound.org/people/LittleRobotSoundFactory/sounds/270396/ - -mobs_punch.ogg by Merrick079 - - https://freesound.org/people/Merrick079/sounds/566436/