From 8d16af87702c5daa8a5f32a9ca1d0270bc8a8a86 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Tue, 1 Mar 2016 12:42:26 -0500 Subject: [PATCH] Why is my local compiler missing thigns the CI hits? --- .../java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java | 2 +- src/main/java/com/gmail/nossr50/party/PartyManager.java | 2 +- .../java/com/gmail/nossr50/skills/taming/TamingManager.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java b/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java index 013b7521a..37d900ae1 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java +++ b/src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java @@ -504,7 +504,7 @@ public class McMMOPlayer { } if (Config.getInstance().getLevelUpSoundsEnabled()) { - player.playSound(player.getLocation(), Sound.LEVEL_UP, Misc.LEVELUP_VOLUME, Misc.LEVELUP_PITCH); + player.playSound(player.getLocation(), Sound.ENTITY_PLAYER_LEVELUP, Misc.LEVELUP_VOLUME, Misc.LEVELUP_PITCH); } player.sendMessage(LocaleLoader.getString(StringUtils.getCapitalized(skillType.toString()) + ".Skillup", levelsGained, getSkillLevel(skillType))); diff --git a/src/main/java/com/gmail/nossr50/party/PartyManager.java b/src/main/java/com/gmail/nossr50/party/PartyManager.java index 5c8987fc1..82a682c51 100644 --- a/src/main/java/com/gmail/nossr50/party/PartyManager.java +++ b/src/main/java/com/gmail/nossr50/party/PartyManager.java @@ -729,7 +729,7 @@ public final class PartyManager { member.sendMessage(LocaleLoader.getString("Party.LevelUp", levelsGained, level)); if (levelUpSoundsEnabled) { - member.playSound(member.getLocation(), Sound.LEVEL_UP, Misc.LEVELUP_VOLUME, Misc.LEVELUP_PITCH); + member.playSound(member.getLocation(), Sound.ENTITY_PLAYER_LEVELUP, Misc.LEVELUP_VOLUME, Misc.LEVELUP_PITCH); } } } diff --git a/src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java b/src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java index 80d0fc9c6..d79f5839f 100644 --- a/src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java +++ b/src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java @@ -333,7 +333,7 @@ public class TamingManager extends SkillManager { } player.sendMessage(LocaleLoader.getString("Taming.Summon.Complete") + lifeSpan); - player.playSound(location, Sound.FIREWORK_LARGE_BLAST2, 1F, 0.5F); + player.playSound(location, Sound.ENTITY_FIREWORK_BLAST_FAR, 1F, 0.5F); } private boolean rangeCheck(EntityType type) {