SPIGOT-2616: Fix dispensers dispensing TNT making squid sounds

This was caused by the wrong obfuscated sound effect being used, probably due to a merge issue.
This commit is contained in:
Pokechu22 2016-08-20 09:48:07 +10:00 committed by md_5
parent 5e5cf84f2c
commit 4507d99aea

View File

@ -355,9 +355,8 @@
+ // CraftBukkit end
world.addEntity(entitytntprimed);
- world.a((EntityHuman) null, entitytntprimed.locX, entitytntprimed.locY, entitytntprimed.locZ, SoundEffects.gz, SoundCategory.BLOCKS, 1.0F, 1.0F);
world.a((EntityHuman) null, entitytntprimed.locX, entitytntprimed.locY, entitytntprimed.locZ, SoundEffects.gz, SoundCategory.BLOCKS, 1.0F, 1.0F);
- --itemstack.count;
+ world.a((EntityHuman) null, entitytntprimed.locX, entitytntprimed.locY, entitytntprimed.locZ, SoundEffects.gk, SoundCategory.BLOCKS, 1.0F, 1.0F);
+ // --itemstack.count; // CraftBukkit - handled above
return itemstack;
}