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.
|
package cron
|
|
|
|
import (
|
|
"github.com/tribalwarshelp/dcbot/utils"
|
|
shared_models "github.com/tribalwarshelp/shared/models"
|
|
)
|
|
|
|
func isBarbarian(p *shared_models.Player) bool {
|
|
return utils.IsPlayerNil(p) || p.ID == 0
|
|
}
|