Moved playSound/Effect(Player, ...) to Player.playEffect(Location, ...) to be consistent, and because the code didn't really do what the Javadoc said.

This commit is contained in:
sk89q
2011-06-09 23:07:45 -07:00
parent c0dfb02c10
commit febba495d8
2 changed files with 10 additions and 9 deletions

View File

@@ -532,15 +532,6 @@ public interface World {
*/
public List<BlockPopulator> getPopulators();
/**
* Plays an effect to just one player.
*
* @param player the player to play the effect for
* @param effect the {@link Effect}
* @param data a data bit needed for the RECORD_PLAY, SMOKE, and STEP_SOUND sounds
*/
public void playEffect(Player player, Effect effect, int data);
/**
* Plays an effect to all players within a default radius around a given location.
*