#889: Fix CraftChest close() sound being replaced with open sound.
This commit is contained in:
parent
ca0fe5b551
commit
aeb711dd3f
@ -74,7 +74,7 @@ public class CraftChest extends CraftLootable<TileEntityChest> implements Chest
|
||||
if (getTileEntity().openersCounter.opened) {
|
||||
IBlockData block = getTileEntity().getBlock();
|
||||
getTileEntity().getWorld().playBlockAction(getPosition(), block.getBlock(), 1, 0);
|
||||
TileEntityChest.playOpenSound(getTileEntity().getWorld(), getPosition(), block, SoundEffects.CHEST_OPEN);
|
||||
TileEntityChest.playOpenSound(getTileEntity().getWorld(), getPosition(), block, SoundEffects.CHEST_CLOSE);
|
||||
}
|
||||
getTileEntity().openersCounter.opened = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user