1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 09:40:21 +01:00

replace deprecated settexturemod with set_texture_mod

This commit is contained in:
TenPlus1 2019-08-13 08:29:11 +01:00
parent c7838e5517
commit 2ca012e30b

View File

@ -6,7 +6,7 @@ local use_cmi = minetest.global_exists("cmi")
mobs = {
mod = "redo",
version = "20190630",
version = "20190813",
intllib = S,
invis = minetest.global_exists("invisibility") and invisibility or {},
}
@ -2235,9 +2235,9 @@ function mob_class:do_states(dtime)
self.blinktimer = 0
if self.blinkstatus then
self.object:settexturemod("")
self.object:set_texture_mod("")
else
self.object:settexturemod("^[brighten")
self.object:set_texture_mod("^[brighten")
end
self.blinkstatus = not self.blinkstatus