[clams] Fix deprecated use of setsprite to set_sprite

This commit is contained in:
bri cassa 2021-03-15 22:15:16 +01:00
parent 49263a7eee
commit f7b367534a

View File

@ -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},