forked from mtcontrib/minetest-mod-sea
[clams] Fix deprecated use of setsprite to set_sprite
This commit is contained in:
parent
49263a7eee
commit
f7b367534a
@ -95,7 +95,7 @@ minetest.register_entity("clams:whiteshell", {
|
|||||||
if self.phase >= 3 then
|
if self.phase >= 3 then
|
||||||
self.phase = 0
|
self.phase = 0
|
||||||
end
|
end
|
||||||
self.object:setsprite({x=0, y=self.phase})
|
self.object:set_sprite({x=0, y=self.phase})
|
||||||
local phasearmor = {
|
local phasearmor = {
|
||||||
[0]={fleshy=0},
|
[0]={fleshy=0},
|
||||||
[1]={fleshy=30},
|
[1]={fleshy=30},
|
||||||
|
Loading…
Reference in New Issue
Block a user