[SPIGOT-251] Player.playSound should not be deprecated. Created: 20/Dec/14 Updated: 11/Dec/17 Resolved: 28/May/15 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | SB_Prime | Assignee: | md_5 |
Resolution: | Fixed | Votes: | 0 |
Labels: | API,, Deprecated |
Description |
The Player.playSound(Location location, String name, float volume, float pitch); is marked as deprecated. If this gets removed we are going to lose the ability to play sounds from custom resource packs. If however this needs to by removed we need a new API that will allow the playback of custom sounds. |
Comments |
Comment by Oliver Dunk [ 28/May/15 ] |
Opened up PR Bukkit #75 to patch. |
Comment by SB_Prime [ 20/Dec/14 ] |
I agree with the first part of your answer. However I do not agree that it should by replaced with enum version of the function. |
Comment by FearThe1337 [ 20/Dec/14 ] |
A lot of stuff is still deprecated from the Bukkit days. |