Skip to content

Commit

Permalink
portal/config.go: Fix outdated resource.Compile() call
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistedAsylumMC committed Sep 26, 2023
1 parent 33483fe commit be0391c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func LoadResourcePacks(dir string) ([]*resource.Pack, error) {

packs := make([]*resource.Pack, 0, len(files))
for _, file := range files {
pack, err := resource.Compile(filepath.Join(dir, file.Name()))
pack, err := resource.ReadURL(filepath.Join(dir, file.Name()))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit be0391c

Please sign in to comment.