Skip to content

Commit

Permalink
Fix sounds and release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSzabo committed Nov 6, 2024
1 parent a1b9412 commit bd49608
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plugins {
}

group = "gg.auroramc"
version = "2.0.0-SNAPSHOT"
version = "2.0.0"

java {
sourceCompatibility = JavaVersion.VERSION_21
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import gg.auroramc.aurora.api.message.ActionBar;
import gg.auroramc.aurora.api.message.Placeholder;
import gg.auroramc.aurora.api.message.Text;
import gg.auroramc.aurora.api.util.InventorySerializer;
import gg.auroramc.aurora.api.util.ItemUtils;
import gg.auroramc.aurora.api.util.TriConsumer;
import gg.auroramc.aurora.expansions.economy.AuroraEconomy;
Expand Down Expand Up @@ -167,9 +166,9 @@ private static void playSound(Player player, String cmd) {
if (args.length == 1) {
player.playSound(player, sound, 1, 1);
} else if (args.length == 2) {
player.playSound(player.getLocation(), args[0], Float.parseFloat(args[1]), 1);
player.playSound(player.getLocation(), sound, Float.parseFloat(args[1]), 1);
} else if (args.length == 3) {
player.playSound(player.getLocation(), args[0], Float.parseFloat(args[1]), Float.parseFloat(args[2]));
player.playSound(player.getLocation(), sound, Float.parseFloat(args[1]), Float.parseFloat(args[2]));
}
}

Expand Down

0 comments on commit bd49608

Please sign in to comment.