Fix: register D2R resolution profiles with engine, fix null API responses
This commit is contained in:
parent
67f8ec1fe8
commit
4ebed5e3ab
3 changed files with 20 additions and 2 deletions
|
|
@ -78,3 +78,9 @@ func (p *Plugin) DefaultLootFilter() plugin.LootFilter {
|
|||
func (p *Plugin) SupportedResolutions() []image.Point {
|
||||
return p.resolutionRegistry.SupportedResolutions("d2r")
|
||||
}
|
||||
|
||||
// RegisterResolutionProfiles registers D2R profiles with an external registry.
|
||||
// Called by the engine before Init().
|
||||
func (p *Plugin) RegisterResolutionProfiles(reg *resolution.Registry) error {
|
||||
return RegisterProfiles(reg)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue