Skip to content

Commit

Permalink
fix item not saving setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindgamesnl committed Jul 7, 2024
1 parent e5cd945 commit 3138462
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public Item getSyncItem(IRegion region) {
player.sendMessage(MagicValue.COMMAND_PREFIX.get(String.class) + ChatColor.RED + "Music will now always play from the beginning when someone enters or connects.");
}

OpenAudioMc.getService(DatabaseService.class).getRepository(RegionProperties.class)
.save(region.getProperties());

// reset the media cache for this region
Media oldMedia = region.getMedia();
Expand Down

0 comments on commit 3138462

Please sign in to comment.