mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-25 14:34:23 +00:00
Restore sound to item removal
This commit is contained in:
1 parent
934b0b85ef
commit
88c1976052
1 file changed
+2
@@ -483,6 +483,8 @@ public class BlockDrawers extends BlockContainer implements IExtendedBlockClickH
|
||||
dropItemStack(world, x + dir.offsetX, y, z + dir.offsetZ, player, item);
|
||||
world.markBlockForUpdate(x, y, z);
|
||||
}
|
||||
else
|
||||
world.playSoundEffect(x + .5f, y + .5f, z + .5f, "random.pop", .2f, ((world.rand.nextFloat() - world.rand.nextFloat()) * .7f + 1) * 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user