This repository has been archived on 2022-10-02. You can view files and clone it, but cannot push or open issues or pull requests.
2020-06-05 15:49:51 +00:00
|
|
|
package cron
|
|
|
|
|
|
|
|
import (
|
2020-08-09 15:20:23 +00:00
|
|
|
"github.com/tribalwarshelp/dcbot/utils"
|
2020-06-05 15:49:51 +00:00
|
|
|
shared_models "github.com/tribalwarshelp/shared/models"
|
|
|
|
)
|
|
|
|
|
2020-07-22 13:46:10 +00:00
|
|
|
func isBarbarian(p *shared_models.Player) bool {
|
2020-08-09 15:20:23 +00:00
|
|
|
return utils.IsPlayerNil(p) || p.ID == 0
|
2020-07-22 13:46:10 +00:00
|
|
|
}
|