Skip to content

Commit e7d311e

Browse files
committed
fix(sound): correct mappedBy reference in SoundEventEntity to properly link sound file sources
1 parent 7b457ae commit e7d311e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/net/onelitefeather/vulpes/api/model/sound/SoundEventEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class SoundEventEntity implements VulpesModel {
4444
* Represents the list of sound data related to this sound model.
4545
* This is a one-to-many relationship where each sound model can have multiple sound data entities.
4646
*/
47-
@OneToMany(mappedBy = "id")
47+
@OneToMany(mappedBy = "soundEvent")
4848
private List<SoundFileSource> dataEntities;
4949

5050
/**

0 commit comments

Comments
 (0)