Skip to content

Commit

Permalink
临时添加一个接口
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyoo0812 committed Oct 13, 2023
1 parent 405ce84 commit 9c166cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/business/entity/entity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ function Entity:is_resource()
return false
end

function Entity:can_relive()
return true
end

-- 初始化
function Entity:setup(conf)
if not self:load(conf) then
Expand Down

0 comments on commit 9c166cf

Please sign in to comment.