fix: add undisguise sound
This commit is contained in:
parent
1dbb199258
commit
7eca066cf1
2 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
package xyz.ineanto.nicko.gui.items.home;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.ClickType;
|
||||
import xyz.ineanto.nicko.appearance.AppearanceManager;
|
||||
|
@ -40,6 +41,7 @@ public class ResetItem {
|
|||
player.sendMessage(playerLanguage.translateWithWhoosh(LanguageKey.Event.Appearance.Remove.OK));
|
||||
} else {
|
||||
player.sendMessage(playerLanguage.translateWithOops(LanguageKey.Event.Appearance.Remove.ERROR));
|
||||
player.playSound(player.getLocation(), Sound.ENTITY_VILLAGER_NO, 1, 1f);
|
||||
}
|
||||
});
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue