Commits

olivervscreeper authored and md_5 committed 7a6eedb7b3f
[SPIGOT-251] Removed deprecation of playSound() method, as new resource pack features mean sound names as strings are intended.

For more information see the linked issue or the playsound command. http://minecraft.gamepedia.com/Sounds.json
No tags

src/main/java/org/bukkit/entity/Player.java

Modified
229 229 * Play a sound for a player at the location.
230 230 * <p>
231 231 * This function will fail silently if Location or Sound are null. No
232 232 * sound will be heard by the player if their client does not have the
233 233 * respective sound for the value passed.
234 234 *
235 235 * @param location the location to play the sound
236 236 * @param sound the internal sound name to play
237 237 * @param volume the volume of the sound
238 238 * @param pitch the pitch of the sound
239 - * @deprecated Magic value
240 239 */
241 - @Deprecated
242 240 public void playSound(Location location, String sound, float volume, float pitch);
243 241
244 242 /**
245 243 * Plays an effect to just this player.
246 244 *
247 245 * @param loc the location to play the effect at
248 246 * @param effect the {@link Effect}
249 247 * @param data a data bit needed for some effects
250 248 * @deprecated Magic value
251 249 */

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut