3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 04:50:05 +01:00

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.
Dieser Commit ist enthalten in:
Pokechu22 2016-08-20 09:48:07 +10:00 committet von md_5
Ursprung 5e5cf84f2c
Commit 4507d99aea

Datei anzeigen

@ -355,9 +355,8 @@
+ // CraftBukkit end + // CraftBukkit end
world.addEntity(entitytntprimed); 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; - --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 + // --itemstack.count; // CraftBukkit - handled above
return itemstack; return itemstack;
} }