Add example to playSound method

This commit is contained in:
RayzsYT committed 2024-11-10 05:09:44 +01:00
1 parent 39301e8622
commit 0f88b3f799
1 file changed
+2 -1
@@ -258,7 +258,8 @@ public class BukkitLoader extends JavaPlugin {
player.playSound(player.getLocation(), sound, volume, pitch);
} catch (Exception exception) {
Logger.warning("Failed to recognise action!");
Logger.warning("> The sound: " + soundName + " does not exist!");
Logger.warning("> The sound: " + soundName + " does not exist! Here's an example to compare with:");
Logger.warning("> sound::ENTITY_ENDER_DRAGON_GROWL::1.0::1.0");
}
}