check staticdata for egg capture
This commit is contained in:
parent
54cb8f487e
commit
86b6a1a950
10
api.lua
10
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
|
||||
|
10
license.txt
10
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/
|
||||
|
@ -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/
|
Loading…
x
Reference in New Issue
Block a user