More bad variable names.

This commit is contained in:
GJ
2012-07-03 10:14:01 -04:00
parent caf9c07ba3
commit cda3675dc5
5 changed files with 25 additions and 25 deletions

View File

@ -19,10 +19,10 @@ public class SpoutSounds {
* @param location The location the sound should come from
*/
public static void playSoundForPlayer(SoundEffect effect, Player player, Location location) {
SoundManager SM = SpoutManager.getSoundManager();
SpoutPlayer sPlayer = SpoutManager.getPlayer(player);
SoundManager soundManager = SpoutManager.getSoundManager();
SpoutPlayer spoutPlayer = SpoutManager.getPlayer(player);
SM.playSoundEffect(sPlayer, effect, location);
soundManager.playSoundEffect(spoutPlayer, effect, location);
}
/**
@ -31,11 +31,11 @@ public class SpoutSounds {
* @param player The player who repaired an item
*/
public static void playRepairNoise(Player player, mcMMO plugin) {
SoundManager SM = SpoutManager.getSoundManager();
SpoutPlayer sPlayer = SpoutManager.getPlayer(player);
SoundManager soundManager = SpoutManager.getSoundManager();
SpoutPlayer spoutPlayer = SpoutManager.getPlayer(player);
//If this is pulling from online, why have it in the jar?
SM.playCustomSoundEffect(plugin, sPlayer, "repair.wav", false);
soundManager.playCustomSoundEffect(plugin, spoutPlayer, "repair.wav", false);
}
/**
@ -44,10 +44,10 @@ public class SpoutSounds {
* @param player The player who leveled up
*/
protected static void playLevelUpNoise(Player player, mcMMO plugin) {
SoundManager SM = SpoutManager.getSoundManager();
SpoutPlayer sPlayer = SpoutManager.getPlayer(player);
SoundManager soundManager = SpoutManager.getSoundManager();
SpoutPlayer spoutPlayer = SpoutManager.getPlayer(player);
//If this is pulling from online, why have it in the jar?
SM.playCustomSoundEffect(plugin, sPlayer, "level.wav", false);
soundManager.playCustomSoundEffect(plugin, spoutPlayer, "level.wav", false);
}
}

View File

@ -199,10 +199,10 @@ public class SpoutStuff {
* Handle level-up notifications through Spout.
*
* @param skillType The skill that leveled up
* @param sPlayer The player that leveled up
* @param spoutPlayer The player that leveled up
*/
public static void levelUpNotification(SkillType skillType, SpoutPlayer sPlayer) {
PlayerProfile profile = Users.getProfile(sPlayer);
public static void levelUpNotification(SkillType skillType, SpoutPlayer spoutPlayer) {
PlayerProfile profile = Users.getProfile(spoutPlayer);
int notificationTier = getNotificationTier(profile.getSkillLevel(skillType));
Material mat = null;
@ -519,8 +519,8 @@ public class SpoutStuff {
}
//TODO: Use Locale
sPlayer.sendNotification(ChatColor.GREEN + "Level Up!", ChatColor.YELLOW + Misc.getCapitalized(skillType.toString()) + ChatColor.DARK_AQUA + " (" + ChatColor.GREEN + profile.getSkillLevel(skillType) + ChatColor.DARK_AQUA + ")", mat);
SpoutSounds.playLevelUpNoise(sPlayer, plugin);
spoutPlayer.sendNotification(ChatColor.GREEN + "Level Up!", ChatColor.YELLOW + Misc.getCapitalized(skillType.toString()) + ChatColor.DARK_AQUA + " (" + ChatColor.GREEN + profile.getSkillLevel(skillType) + ChatColor.DARK_AQUA + ")", mat);
SpoutSounds.playLevelUpNoise(spoutPlayer, plugin);
}
/**