Oops, fix crashing bug when loading item appearances endpoint
I missed this because it's only for backgrounds and stuff! But yeah I added a prefix to the `Body` struct, and forgot to apply it everywhere, oops!
This commit is contained in:
parent
e0b5382c3f
commit
cd095eefcb
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ class Item < ApplicationRecord
|
|||
|
||||
# If there are no body-specific assets, return one appearance for them all.
|
||||
if swf_assets_by_body_id.empty?
|
||||
body = Body.new(0, nil)
|
||||
body = Appearance::Body.new(0, nil)
|
||||
return [Appearance.new(body, swf_assets_for_all_bodies)]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue