Complete D&D entity contract audit
This commit is contained in:
@@ -173,7 +173,7 @@ func (r *Registry) NPCs() []dnd.NPC {
|
||||
return cloneNPCs(r.list.NPCs)
|
||||
}
|
||||
|
||||
// List returns a defensive copy of the validated NPC list.
|
||||
// List returns a defensive copy of the validated NPC registry entries.
|
||||
func (r *Registry) List() dnd.NPCRegistry {
|
||||
if r == nil {
|
||||
return dnd.NPCRegistry{}
|
||||
|
||||
Reference in New Issue
Block a user