mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-20 01:43:45 +01:00
Add return for get_staticdata
This commit is contained in:
parent
7ae05d9c06
commit
94981d9c09
@ -198,7 +198,7 @@ minetest.register_entity("mcl_experience:orb", {
|
||||
self.object:set_sprite({x=1,y=math.random(1,14)}, 14, 0.05, false)
|
||||
end,
|
||||
get_staticdata = function(self)
|
||||
tostring(self._xp or 0)
|
||||
return tostring(self._xp or 0)
|
||||
end,
|
||||
|
||||
enable_physics = function(self)
|
||||
|
Loading…
Reference in New Issue
Block a user