@@ -88,13 +88,13 @@
|
||||
@@ -497,7 +541,13 @@
|
||||
}
|
||||
|
||||
protected void b(ItemStack itemstack) {
|
||||
protected void playEquipSound(ItemStack itemstack) {
|
||||
- if (!itemstack.isEmpty()) {
|
||||
+ // CraftBukkit start
|
||||
+ this.b(itemstack, false);
|
||||
+ this.playEquipSound(itemstack, false);
|
||||
+ }
|
||||
+
|
||||
+ protected void b(ItemStack itemstack, boolean silent) {
|
||||
+ protected void playEquipSound(ItemStack itemstack, boolean silent) {
|
||||
+ if (!itemstack.isEmpty() && !silent) {
|
||||
+ // CraftBukkit end
|
||||
SoundEffect soundeffect = SoundEffects.ITEM_ARMOR_EQUIP_GENERIC;
|
||||
|
||||
Reference in New Issue
Block a user